Chris Pollett > Students >
Vijeth

    ( Print View )

    [Bio/Project Blog]

    [CS297 Proposal]

    [Deliverable1]

    [Deliverable2]

    [Deliverable3]

    [CS297 Report]

    [CS298 Proposal]

    [CS298 Report]

    [CS298 Presentation]

                          

























Chris Pollett > Students > Vijeth Patil

Deliverable 3: Del.icio.us Feeds

Description: Accessing user's bookmarks from Del.icio.us and indexing into Yioop!

Obtaining Source Code: Download Source Code for this DeliciousArchiveBundle iterator from here

Accessing feeds from Del.icio.us

  • In order to access a user's bookmarks from Del.icio.us we need to use REST API provided by Del.icio.us
  • All of the requests to access requests start with format https://api.del.icio.us/v1/
  • To get all the posts from a user, you must use the following curl request format:$ curl https://user:passwd@api.del.icio.us/v1/posts/all
  • The data returned by Del.icio.us API is in xml format. Sample Data Returned from Delicious:

  • <posts tag="" total="7" user="vijethpatil">
    <post description="Earth-like planet found in 'habitable' zone  USATODAY.com" extended="" hash="dd02d11ef4635896194ba4cb198f1973" href="http://www.usatoday.com/tech/science/space/story/2011-12-05/nasa-finds-planet-that-could-sustain-life/51656310/1" private="no" shared="yes" tag="Earth nasa" time="2011-12-05T21:57:06Z"/>

Indexing data returned from Del.icio.us into Yioop!

  • To index the XML data returned from Del.icio.us API which contains the user's bookmarks an Iterator 'DeliciousArchiveBundleIterator'is written in PHP to iterate XML data and convert the data into a format indexable by Yioop!

Screenshot of a query result in Yioop! with Del.icio.us feeds indexed

   Text_description