This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2009-11-08 09:42:25

Jasper
Scratcher
Registered: 2007-08-11
Posts: 12

datePub for Scratch RSS?

I am trying to make a pretty display for all my projects on my website, and I'm using the RSS for the project list ( http://scratch.mit.edu/feeds/getRecentUserProjects/11568 ) The problem is, that RSS has no datePub field, which I need. Is this a mistake, or did you want to cut down on database calls or something? For all that have this same problem, I made a yahoo pipes that tries to solve this: http://pipes.yahoo.com/jeratt/scratchproj (it doesn't quite work yet  tongue  )

Last edited by Jasper (2009-11-08 09:43:45)


http://jasper.clarkberg.org/media/scratch-sig.png
My Projects and My website are great places to visit!  wink

Offline

 

#2 2009-11-08 20:37:22

andresmh
Scratch Team at MIT
Registered: 2007-03-05
Posts: 1000+

Re: datePub for Scratch RSS?

Oh I love Yahoo Pipes! The datePub would be the date in which the project was uploaded right? I will add it to our to do list.


Andres Monroy-Hernandez | Scratch Team at the MIT Media Lab
on identi.ca and  twitter

Offline

 

#3 2009-11-08 20:42:16

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: datePub for Scratch RSS?

andresmh wrote:

Oh I love Yahoo Pipes! The datePub would be the date in which the project was uploaded right? I will add it to our to do list.

How long is your to-do list?


Hai.

Offline

 

#4 2009-11-11 01:58:16

billyedward
Scratcher
Registered: 2008-01-03
Posts: 500+

Re: datePub for Scratch RSS?

In the mean time, the casual user with access a PHP server could add them manually:
Use the simpleXML parser to splice in date contents from an SQL file that you host, that has the dates. Then return this to the user, in XML format using

Code:

header('Content-Type: text/xml');

Only for the advanced user that really really needs dates, but it should work.


"I'd love to change the world, but they haven't released the source code yet."
Check out the latest version of Streak --> http://billy.scienceontheweb.net/Streak

Offline

 

Board footer