Topic: Current Date and Time RSS Feed Pages that link to <a href="https://ozoneasylum.com/backlink?for=26595" title="Pages that link to Topic: Current Date and Time RSS Feed" rel="nofollow" >Topic: Current Date and Time RSS Feed\

 
Author Thread
Karl
Bipolar (III) Inmate

From: Phoenix
Insane since: Jul 2001

IP logged posted posted 09-07-2005 03:10 Edit Quote

I am looking for an RSS Feed that simply broadcasts the current date and time.
Has anyone seen such a thing?

Karl..

poi
Paranoid (IV) Inmate

From: France
Insane since: Jun 2002

IP logged posted posted 09-07-2005 07:38 Edit Quote

You know you can retrieve the current date on Server side ( when a page is generated ) and Client side ( in realtime ). You can well make a server side script which once requested outputs the date with the needed tags and sets the Content-type header to application/rss+xml and voilà. It's the matter of few minutes.

Karl
Bipolar (III) Inmate

From: Phoenix
Insane since: Jul 2001

IP logged posted posted 09-07-2005 16:56 Edit Quote

This is a client side app. Actually, it is XML with stylesheet reference. The XML doc is browsed locally and relies on IE to parse the XML with the stylesheet. I need the current date and time for the XML... So, that's it! Was hoping I could request the current date and time by an RSS feed (from stylesheet I would reference this external RSS feed).

Emperor
Maniac (V) Inmate

From: Cell 53, East Wing
Insane since: Jul 2001

IP logged posted posted 09-07-2005 17:34 Edit Quote

If you have access to server-side scripting you could set up this yourself.

Then again couldn't you just use client-side scripting - ECMAScript or JavaScript?

___________________
Emps

The Emperor dot org | Revenant: The Zombie Magazine | Wonders | Justice for Pat Richard | FAQs: Emperor | Site Reviews | Reception Room

if I went 'round saying I was an Emperor just because some moistened bint had lobbed a scimitar at me, they'd put me away!

Karl
Bipolar (III) Inmate

From: Phoenix
Insane since: Jul 2001

IP logged posted posted 09-07-2005 19:21 Edit Quote

I'm not familiar with embeding javascript into XML... again, I need the Current DATE/TIME available to the stylesheet for parsing, need to compare dates in my XML source, see if they are current etc... So, If I can embed client-side javascript into my stylesheet, and then upon parsing of the XML this value is available, that would be fine.

THE MODEL:

XML SOURCE ... XSL SOURCE

IE user --> browses (locally) to XML source, xml transformed into XSL source.


POTENTIAL MODEL:

HTML Page ... XML SOURCE ... XSL SOURCE

IE user --> browses (locally) to HTML source, client-side java scripting uses XML and XSLT Active X components to handle the transformation and to pass additional parameters (current date & time) to the XSLT Parser.

(first model is the simplest approach...)
What are your thoughts?



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu