WWWiki:Scratchpad

From World Wind Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 21:07, 30 January 2005 (edit)
Llynix (Talk | contribs)
(World Wind Central Hotspots)
← Previous diff
Revision as of 21:16, 30 January 2005 (edit) (undo)
Llynix (Talk | contribs)
(World Wind Central Hotspots)
Next diff →
Line 70: Line 70:
*Add full clickable category in infobox *Add full clickable category in infobox
-*I would like addhotspot to utilize View On World before actually adding a+*I would like addhotspot to utilize View On World before actually adding a hotspot. That way users could see where it is, their image and data before actually adding the hotspot. In addition we should check and display any hotspots in the area to cut down on duplicates
-hotspot. That way users could see where it is, their image and data+
-before actually adding the hotspot. In addition we should check and display +
-any hotspots in the area to cut down on duplicates+
*Add a user level system (in progress) *Add a user level system (in progress)
Line 85: Line 82:
*for each category.. a view all on map *for each category.. a view all on map
*Need to automagically change them to hyperlinks.. but then also have to do something about the length of them because it messes up the layout if the link is too long *Need to automagically change them to hyperlinks.. but then also have to do something about the length of them because it messes up the layout if the link is too long
 +<pre>
Nowak: s/(^http:\/\/|^)([^\/]*).*(\/[^\/]*(\/$|$))/\1\2\/...\3/ Nowak: s/(^http:\/\/|^)([^\/]*).*(\/[^\/]*(\/$|$))/\1\2\/...\3/
Line 92: Line 90:
http://test.com/.../d.php http://test.com/.../d.php
- +</pre>
*set redirects on add / edit / delete hs (goto) *set redirects on add / edit / delete hs (goto)
Line 99: Line 97:
*if a category is empty it's name doesn't show up *if a category is empty it's name doesn't show up
*allow worldwind:// style entry *allow worldwind:// style entry
 +<pre>
(again provided by nowak) (again provided by nowak)
$wwc = array(); $wwc = array();
Line 113: Line 112:
$wwc should be an array with all the info if I'm reading the code $wwc should be an array with all the info if I'm reading the code
correctly. correctly.
 +</pre>

Revision as of 21:16, 30 January 2005

Contents

Jessi

  • Collaborate with Worldwindcentral staff on transferring Wiki to them (almost there)
  • Figure out namespace policy
  • Initial top-level organization
  • 2ndary header; footer NASA-site standardization; sidebar graphic
  • Better, locally hosted tutorial (or link to MediaWiki user guide) See Wikification guide
  • Style guide? (Do you mean guidelines?)
  • Import Worldwind.arc.nasa.gov redesign plan, SourceForge tutorials, manuals, FAQ, etc.
  • After DNS gets updated and this is wiki.worldwindcentral.com we need to (pending discussion) temp make a few moderators on the forums so they can easily cut and paste into the wiki. Also for things like FAQ, Lists, and other hot topics a message pointing to the new wiki'ized version should be put up there.

Llynix

wiki

  • Figure out how to set up a Developers Sketchpad that doesn't have the share-alike clause.
  • Ok I looked into this. The options are (in order from easiest to hardest): 1) just place a warning up on any dev pages saying that the content on these pages is copyright original author and is up for evaluation, testing and for open comment purposes only. 2) Put a go between page on the license policy that explains the funny 'dual' license. 3) Try our best to 'hack' media wiki to accept two licenses.
  • Get worldwind style links to work: WW Link
  • Do a diff with mediawiki 1.4b5 figure out what files you messed with. Done Diff
  • Fix authentication code so it imports emails.
  • fix footer integrate same footer with hotspots

installer

hotspots

  • Finish locking down the design. Integrate footer. Finish left menu / nav. Add tabs on top (mars greyed out for now)

Whoever

Placename links: http://earth-info.nga.mil/gns/html http://geonames.usgs.gov/gnishome.html

Nick

  • Help!!! Major CSS redesign across two, maybe three sites. wwc, wiki and maybe blog. (blog will become wwc, wwc would become hotspots)
  • Apparently you can add a logo to the [worldwind://] link above using css. If so I'd like the GOTO logo associated with it. External link logo shows up in IE, does not in firefox.

Dave

  • Point domain at Nowaks' DNS servers

chat pointed

wiki pointed

hotspots pointed

geocoder blog

(mars and proxy, not sure how nowak has it orginized)

World Wind Central Hotspots

  • Description for hotspot should be a text entry box. - Llynix
  • Add a commenting system - Llynix
  • Resync database and point www.worldwindcentral.com
  • Create accounts like admin,sysop,root, and make them trolls. Also perhaps george carlins 7?
  • Fix opera parsing bug. (the fill in the form pages are right justified?)
  • Add views to infobox
  • Add date submited to infobox
  • Add full clickable category in infobox
  • I would like addhotspot to utilize View On World before actually adding a hotspot. That way users could see where it is, their image and data before actually adding the hotspot. In addition we should check and display any hotspots in the area to cut down on duplicates
  • Add a user level system (in progress)
  • Top 10 users
  • Add a news system (this should be a wwc main site project)
  • multiple images
  • image needs a user attached
  • image code needs to be pruned
  • for each category.. a view all on map
  • Need to automagically change them to hyperlinks.. but then also have to do something about the length of them because it messes up the layout if the link is too long
Nowak: s/(^http:\/\/|^)([^\/]*).*(\/[^\/]*(\/$|$))/\1\2\/...\3/

try this :D

echo "http://test.com/a/b/c/d.php" | sed -E ' s/(^http:\/\/|^)([^\/]*).*(\/[^\/]*(\/$|$))/\1\2\/...\3/'

http://test.com/.../d.php
  • set redirects on add / edit / delete hs (goto)
  • view hotspot should display edit / delete
  • Add an add category button on the bottom of the category box available for admins and helpers.
  • if a category is empty it's name doesn't show up
  • allow worldwind:// style entry
(again provided by nowak)
$wwc = array();
if (strncasecmp($link, 'worldwind://goto/', 17)) return array2object($wwc);
$types = array('lon' => 'float', 'altitude' => 'float', 'world' => 'string');
foreach (explod('&', substr($link,17)) as $field) {
  $field = explod('=',$field, 2);
  $x .= $field[0] . '->' . $field[1] . ' | ';
  if (isset($field[0]) && array_key_exists($field[0], $types)) {
    settype($field[1], $types[$field[0]]);
    $wwc[$field[0]] = $field[1];
  }
}
$wwc should be an array with all the info if I'm reading the code 
correctly.
Personal tools