![]() |
Show 20 posts from this thread on one page |
VisorCentral.com (http://discussion.visorcentral.com/vcforum/index.php)
- VisorCentral.com (http://discussion.visorcentral.com/vcforum/forumdisplay.php?forumid=5)
-- XML Feed test (http://discussion.visorcentral.com/vcforum/showthread.php?threadid=13070)
We just built an XML feed of our headlines (similar to the old JavaScript Feed http://www.visorcentral.com/page/0-2-567-2.htm )
It is located at:
http://www.visorcentral.com/syndicate/xmlfeed.php
Let me know if you find any problems with it.
Thanks,
__________________
<B>Marcus Adolfsson</B>
Editor
quote:
Originally posted by marcus
It is located at:
http://www.visorcentral.com/syndicate/xmlfeed.php
__________________

God bless America, my home sweet home...
That's the way it's supposed to be. It's supposed to have code, with little red expander contractor things. IF it does, IT wors, It works fine for me in IE 5.5 so..
__________________
-miradu
I get the code in red brackets, so according to miradu, then it works beautifully.
BEN
yep
good xml
__________________
all around good guy
brandon
drop me a line
Ok... me stupid!!!
If this is correct XML format, what is it (or I) supposed to do? I admit I know nothing about XML... 
quote:
<?xml version="1.0" encoding="iso-8859-1" ?>
- <visorcentalfeed>
- <article id="914">
<cluster>News</cluster>
<headline_text>NCR sues Palm & Handspring</headline_text>
<document_url>http://www.visorcentral.com/page/0-2-914-2.htm</document_url>
<summary>According to this Reuters article, NCR is suing Palm and Handspring for alleged patent violations on two of NCR's patents. Here is the abstract for the 1987 US Patent 4,634,845:A system including a ...</summary>
<pub_date>March 15th, 2001</pub_date>
</article>
__________________

God bless America, my home sweet home...
Given the structured nature of XML, you can do a variety of things with it .. you could, for example, setup a database that would read that page and add new records into the database .. you could create an XML Stylesheet (XSLT) and have it basically churn the XML data into a legiable pseudo-HTML document ..
I think one of the biggest reasons for using XML in this fashion is so people can access and manipulate data over the web without having direct access to the backend database structure/format/etc... In this regard, it provides the raw data of what is already formatted in the Javascript feed so you could ultimately reformat the information in any way you see fit for your use.
Joe
PS -- check out www.xml.com for additional info
quote:
check out www.xml.com for additional info [/B]
I think I'm starting to understand this... I can take the XML feed, parse it according to the known tags, and then use the content, for example, on my own web page... interesting concept. 
You learn something new everyday... (and they say you can't teach an old dog new tricks!)
__________________

God bless America, my home sweet home...
Old dog? Mark your under 50, anyways it's your B-day today.. 
THe biggest thing about XML is is that it only controls content. So the same source document could be used o na Visor, or a PC. It's the parsers that do all the work. VERY COOL.
__________________
-miradu
Does anyone know what happened to this? Are there any plans for a more standard RSS feed?
| All times are GMT. The time now is 12:17 AM. | Show 20 posts from this thread on one page |
Powered by: vBulletin Version 2.3.4
Copyright © Jelsoft Enterprises Limited 2000 - 2016.