Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-05-04 00:41:32

firago
Member
Registered: 2005-01-03
Posts: 54

I need to grab the date for an external javascript

I am hoping to write a javascript (havent actually started writing it yet) on a page at a different domain name, and i need to grab the date of the most recently posted article that was written through Textpattern. I think the best way to do this would be to get the date from the rss feed, but I have no idea how to do that.

The script will (hopefully) change the class of an element depending on if the most recent article was written today, yesterday, 2 days ago, 3 days ago, or longer than that.

Thank you for all the help.

I know this was probably not as clear as it should be and if you have any questions about what I said, please just ask me to clarify.

Last edited by firago (2006-05-04 00:42:36)

Offline

Board footer

Powered by FluxBB