MapMyGlobe

Archive for March, 2008

Delete your Facebook Friends

Friday, March 21st, 2008

A non-neglictible part of this blog’s readers come for my Facebook scripts, which aim at automating a few things via javascript. One of those readers recently suggested a utility for automatically deleting friends. The reason for that is that he’s so popular he hits the 5,000 Facebook friends limit and can’t add any of the 11,000 peeps that sent him a request :) So, a workaround would be to first delete all of his current friends to make room for the new ones.

Now, my solution is not perfect because Facebook displays friends within a 50-items paging system. Which means you would need to run it 100 times to get rid of all your friends. Still, that’s a 50x improvement ratio if you really do need to delete your friends. The code is the following:

var remove = $$('a.remove');
for (var i = 0; i < remove.length; i++){
  remove[i].onclick();
  $('dialog_button1').click();
}

which you need to run at http://www.facebook.com/friends/?all. I also wrote a Greasemonkey script here or at http://userscripts.org/scripts/show/24199. Hope that helps somebody :)

MapMyGlobe on SourceForge

Sunday, March 9th, 2008

Just registered MapMyGlobe CMS (the software that runs www.mapmyglobe.com) on SourceForge.net. I haven’t released an up-to-date version of the source code yet, though I’ll do it pretty soon. The project’s UNIX name is mapmyglobe, and the project’s page can be found at http://sourceforge.net/projects/mapmyglobe/. Please contribute!

Registering an Open-source project on SourceForge gives you Shell access to a Web and CVS/SVN server, so, out of curiosity, I used it to list the projects whose names start with map. There are 128 of them (out of 171,554 total), the complete list being:

map, map2owl, map2xml, map3bspc, map4use, map500conv, mapaaudio, mapache,
mapache-weblog, mapalyzer, mapaphoto, mapassembler, mapasuta, mapatorium,
mapbased, mapbender, map-blog, mapbox, mapbrowser, mapbuddy, mapbuilder,
mapcal, map-catalog, mapchan, map-connector, mapcraft, mapcreator,
mapdataviewer, mapdb, mapdload, mapdown-bf, mapdrive, mapdrv, mapeasy,
mapeaudio, mapeb200, mapedit, mapeditor, mapeggeographic, mapfs, map-fu,
mapgen, mapgrabber, mapi, mapi2pop3, mapiator, mapifier, mapify, mapip, mapipoz,
mapis, mapivi, mapix, mapkenzie, maple, maple3-itoc, maplens, mapleos, mapletree,
map-lib, maplincad, maplinx, maplist, mapmagick, mapmakerexpress, mapmanager,
mapmaster, mapmaudio, mapme, mapmvideo, mapmyglobe, mapnav, mapnzap, mapo,
mapobject, mapoelrooster, map-o-linux, mapomatix, maponto, maporlite, mapper,
mapper4j, mapperframework, mapphotogallery, mappingapi, mappingwidgets, mappit,
mapplet3d, mapplus-thin, mappo, map-pocket, mappoint4j, mapp-w, mappy,
mapquant, mapreader, maprec, mapreduce-cell, maprequest, maps, maps2winbugs,
mapscout, mapserver-nzeco, mapservice-dump, mapsnack, maps-n-dragons,
mapson, mapsplitter, mapspork, maps-schoolsys, mapstedi, mapster, mapstitch,
mapstorer, mapstudio, mapsurfer, maptales-mobile, maptoogremesh,
maptoolstokgen, mapuche, mapuched, mapwiki, mapwindowgis, mapwizard, mapx,
map-x, mapxor, mapyrus

Among them, some are empty, some are pretty basic or pretty old pieces of code, and some are very interesting. One of the latter is map-blog, a “Php dynamic web site with Maps Google Api to provide localisation. It is a blog, with your travel itinerary on a map. Each plot contains date, text, video, and picture. User navigates on the blog by clicking the plot on the map.“. It still seems pretty rough at the edges, but still, it’s nice to see that what we are working on here at MapMyGlobe could be of interest to some :)