[google-sgnodemapper] r217 committed - Fixed bug where we didn't handle delicious accounts with dots in the u...

1 view
Skip to first unread message

codesite...@google.com

unread,
Mar 3, 2010, 7:29:07 PM3/3/10
to sgnodemapp...@googlegroups.com
Revision: 217
Author: a...@google.com
Date: Wed Mar 3 16:28:45 2010
Log: Fixed bug where we didn't handle delicious accounts with dots in the
username as referenced in:
http://www.google.com/buzz/dclinton/GMkN7FChE8n/Delicious-now-supports-the-rel-me-tag-Simon
http://code.google.com/p/google-sgnodemapper/source/detail?r=217

Modified:
/trunk/sites/simple.js

=======================================
--- /trunk/sites/simple.js Sat Oct 24 01:29:50 2009
+++ /trunk/sites/simple.js Wed Mar 3 16:28:45 2010
@@ -97,7 +97,7 @@
{name: "del.icio.us",
primaryDomain: "del.icio.us",
urlToGraphNode: nodemapper.createPathRegexpHandler(
- "del.icio.us", /^\/(?:rss\/)?(\w+)/,
+ "del.icio.us", /^\/(?:rss\/)?([\w+\.]+)/,
{ notUsernames: { "rss": 1 }, slashAnything: 1})});

nodemapper.addSimpleHandler("del.icio.us", "ident_to_profile",
@@ -586,6 +586,15 @@
profile(sgn://del.icio.us/?ident=jsmarr) http://delicious.com/jsmarr
rss(sgn://del.icio.us/?ident=jsmarr) http://feeds.delicious.com/rss/jsmarr

+#identifiers with dots in them should also be handled for Delicious
+http://del.icio.us/antoine.bertier
sgn://del.icio.us/?ident=antoine.bertier
+http://del.icio.us/rss/antoine.bertier
sgn://del.icio.us/?ident=antoine.bertier
+http://delicious.com/antoine.bertier
sgn://del.icio.us/?ident=antoine.bertier
+http://delicious.com/rss/antoine.bertier
sgn://del.icio.us/?ident=antoine.bertier
+http://feeds.delicious.com/rss/antoine.bertier
sgn://del.icio.us/?ident=antoine.bertier
+profile(sgn://del.icio.us/?ident=antoine.bertier)
http://delicious.com/antoine.bertier
+rss(sgn://del.icio.us/?ident=antoine.bertier)
http://feeds.delicious.com/rss/antoine.bertier
+
http://community.webshots.com/user/bob sgn://webshots.com/?ident=bob
profile(sgn://webshots.com/?ident=bob)
http://community.webshots.com/user/bob
rss(sgn://webshots.com/?ident=bob)
http://community.webshots.com/rss?contentType=rss&type=user&value=bob

Reply all
Reply to author
Forward
0 new messages