User Tools

Site Tools


pokemon_database_activities

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
pokemon_database_activities [2025/08/01 12:30] – [Adapting the url in Runestone] frchrispokemon_database_activities [2025/08/01 12:31] (current) – [Adapting the url in Runestone] frchris
Line 14: Line 14:
 ==== Adapting the url in Runestone ==== ==== Adapting the url in Runestone ====
  
-In step 4 after you assign the correct element of the ''field'' array to the String ''url'', you need to alter the url to point to a jpg file on a different website:+In step 4 after you assign the correct element of the ''field'' array to the String ''url'', you need to alter ''url'' to point to a jpg file on a different website:
  
 <code java> <code java>
- url = url.replace(".png", ".jpg");+ url = url.replace(".png", ".jpg"); // different file type
  url = url.replace("play.pokemonshowdown.com/sprites/bw",   url = url.replace("play.pokemonshowdown.com/sprites/bw", 
-                   "img.pokemondb.net/artwork");+                   "img.pokemondb.net/artwork"); // different website
 </code>  </code> 
pokemon_database_activities.txt · Last modified: 2025/08/01 12:31 by frchris

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki