# Last edited on 2013-03-02 02:52:08 by stolfilocal OBTAINING A LIST OF ALL MY CONTRIBS TO WIKIMAPIA Saving the raw HTML contribution lists: On the Chrome browser: Log in to new.wikimapia.org Enter "JorgeStolfiBR/Profile" Click "Stats" then "Places and streets created" Left-Click on the "watchlist" displayed as the right side of the window, then select "Inspect Element" in the Chrome popup menu. For each sobpage of the "watchlist": Select the entry '
${dt}-created.starts apparent ini pages: 1351528961 apparent fin pages: 1341536725 check-watchlist-pages.sh < ${dt}-edited.html > ${dt}-edited.starts apparent ini pages: 1351541621 apparent fin pages: 1341472407 check-watchlist-pages.sh < ${dt}-roads.html > ${dt}-roads.starts apparent ini pages: 1351544966 apparent fin pages: 1342214060 EXTRACTING OBJECT IDS FROM SAVED WATCHLISTS Extract created/edited polygons and titles for dt in 2012-10-29 2013-02-28 ; do ${dt}-extract-contribs.sh < ${dt}-created.html > ${dt}-created.tbl ${dt}-extract-contribs.sh < ${dt}-edited.html > ${dt}-edited.tbl ${dt}-extract-contribs.sh < ${dt}-roads.html > ${dt}-roads.tbl done For edited roads however, the file "roads.html" has only revision numbers, not object numbers. COLLECTING MY CONTRIBS TO WIKIMAPIA Collected by hand all Andaman island object ids in Andaman-Objects.txt Extracting the four fields "DIR" "OBJ" "ZOOM" "NAME" from tables: rm -f .contribs.txt for dt in 2012-10-29 2013-02-28 ; do for kind in created edited roads ; do cat ${dt}-${kind}.tbl \ | sed -e 's:[ ]*[|][ ]*:|:g' -e 's:^[ ][ ]*::g' \ | egrep -v -e '^[-+ ]*$' \ | egrep -v -e '[!].*[!].*[!].*[!]' \ | gawk -v FS='|' \ ' ($2 != "") { printf "%s|%s|%s|%s| ##\n", $1, $2, $11, $14; } ' \ >> .contribs.txt done done cat .contribs.txt Andaman-Objects.txt \ | sed \ -e 's:^[ ][ ]*::g' \ -e 's:[ ]*[|][ ]*:|:g' \ -e 's:[ ]*[#][ ]*:#:g' \ -e 's:[ ][ ]*$::g' \ | condense-duplicates.gawk \ | txtable-reformat \ > All-Objects.txt