XML button on News page error
Discussion
On the Vectra/Lexus news item page there is a orange
button which when pressed (sorry I'm a habitual button presser) gave this error on a beige coloured screen with an orange line border.
XML Parsing Error: xml processing instruction not at start of external entity
Location: www.pistonheads.com/xml/news091.asp?c=26
Line Number 3, Column 1:<?xml version="1.0" encoding="ISO-8859-1"?>
^
button which when pressed (sorry I'm a habitual button presser) gave this error on a beige coloured screen with an orange line border. XML Parsing Error: xml processing instruction not at start of external entity
Location: www.pistonheads.com/xml/news091.asp?c=26
Line Number 3, Column 1:<?xml version="1.0" encoding="ISO-8859-1"?>
^
FourWheelDrift said:Works fine in IE6, are you using Firefox?
On the Vectra/Lexus news item page there is a orange XML button which when pressed (sorry I'm a habitual button presser) gave this error on a beige coloured screen with an orange line border.
XML Parsing Error: xml processing instruction not at start of external entity
Location: www.pistonheads.com/xml/news091.asp?c=26
Line Number 3, Column 1:<?xml version="1.0" encoding="ISO-8859-1"?>
^
Finally and interesting use for RSS with PH on-board
Tripps said:
Works fine in IE6, are you using Firefox?
Finally and interesting use for RSS with PH on-board![]()
Button there in IE6 too, give this mess (bit's of code will probably be missing here) when I press it (sorry can't help myself)
<?xml version="1.0" encoding="ISO-8859-1" ?>
- <rss version="0.91">
- <channel>
<title>PistonHeads (Motoring News)</title>
<link>www.pistonheads.com/news/</link>
<description>Motoring News</description>
<language>en-gb</language>
<copyright>Copyright 2004, PistonHeads.com</copyright>
- <image>
<title>PistonHeads (Motoring News)</title>
<url>www.pistonheads.com/images/fast-car-news-chimp2.jpg</url>
<link>www.pistonheads.com/news/</link>
<description>Motoring News</description>
</image>
- <item>
<title>Autojumble show kicks off new year</title>
<link>www.pistonheads.com/news/default.asp?storyId=9634</link>
<description>Empty your garage at Birmingham's NEC</description>
</item>
- <item>
<title>New software to teach motorway driving</title>
<link>www.pistonheads.com/news/default.asp?storyId=9632</link>
<description>Should it be standard issue for all motorists?</description>
</item>
- <item>
<title>Road works to be removed over Christmas</title>
<link>www.pistonheads.com/news/default.asp?storyId=9631</link>
<description>Long distance journeys might be eased this year</description>
</item>
- <item>
<title>Beemers are best at car security</title>
<link>www.pistonheads.com/news/default.asp?storyId=9630</link>
<description>Tests show 5 Series and X3 are hardest to break into</description>
</item>
- <item>
<title>Lexus shoots self in foot</title>
<link>www.pistonheads.com/news/default.asp?storyId=9629</link>
<description>Could Vectras really be mistaken for Lexi?</description>
</item>
- <item>
<title>Government adds £140m to car tax haul</title>
<link>www.pistonheads.com/news/default.asp?storyId=9627</link>
<description>Company-owned diesels to lose three per cent tax advantage</description>
</item>
- <item>
<title>Deck the tree with sprigs of holly</title>
<link>www.pistonheads.com/news/default.asp?storyId=9626</link>
<description>But watch out for those warning labels first...</description>
</item>
- <item>
<title>Vauxhall uprates its Monaro VXR</title>
<link>www.pistonheads.com/news/default.asp?storyId=9625</link>
<description>New 6.0-litre engine pushes power to 400 bhp</description>
</item>
- <item>
<title>BMW M6 details emerge</title>
<link>www.pistonheads.com/news/default.asp?storyId=9624</link>
<description>GT cruiser coupé to house M5's 507 bhp V10</description>
</item>
- <item>
<title>On the Limit - Reviewed</title>
<link>www.pistonheads.com/news/default.asp?storyId=9623</link>
<description>Ted puts his feet up and watches TV for us</description>
</item>
- <item>
<title>Win copies of two fab racing games</title>
<link>www.pistonheads.com/news/default.asp?storyId=9622</link>
<description>Just one simple question to answer!</description>
</item>
- <item>
<title>Car thief asks cop for help</title>
<link>www.pistonheads.com/news/default.asp?storyId=9621</link>
<description>"Start my stolen car for me", asks tea-leaf.</description>
</item>
- <item>
<title>Silverstone wins five year reprieve</title>
<link>www.pistonheads.com/news/default.asp?storyId=9620</link>
<description>British GP saved for £60m cost plus FOS 2005 clash</description>
</item>
- <item>
<title>Times runs RoadPilot competition</title>
<link>www.pistonheads.com/news/default.asp?storyId=9619</link>
<description>Guess Gatso's daddy and win a camera warning device</description>
</item>
- <item>
<title>Launch of prototype Spyker C12 Spyder</title>
<link>www.pistonheads.com/news/default.asp?storyId=9618</link>
<description>Six-litre supercar offers 500 bhp and 200mph top speed</description>
</item>
</channel>
</rss>
FourWheelDrift said:That's what it supposed to do
Tripps said:
Works fine in IE6, are you using Firefox?
Finally and interesting use for RSS with PH on-board![]()
Button there in IE6 too, give this mess (bit's of code will probably be missing here) when I press it (sorry can't help myself)![]()
...big scary chunk of XML removed...
That encoded format can be used by an RSS reader to poll for new news and colate it on a periodic basis, quite handy tools when setup right too.
Gassing Station | Website Feedback | Top of Page | What's New | My Stuff


