XML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming Languages - MoreXML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 2nd, 2012, 04:02 PM
jasonc310771 jasonc310771 is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jun 2005
Posts: 541 jasonc310771 User rank is Private First Class (20 - 50 Reputation Level)jasonc310771 User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 Days 16 h 9 m 25 sec
Reputation Power: 8
Getting errors that i do not understand

The errors I get are..

Can anyone tell me what is wrong with my code ?

Quote:
This feed does not validate.

line 48, column 11: XML parsing error: <unknown>:43649:2: mismatched tag [help]

</channel>
^

In addition, interoperability with the widest range of feed readers could be improved by implementing the following recommendations.

Feeds should not be served with the "text/html" media type [help]


line 3, column 0: Undocumented use of atom:link [help]

<atom:link href="http://www.site.com/rss.php" rel="self" type="applic ...



Code:
<?xml version="1.0" encoding="windows-1252" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<atom:link href="http://www.site.com/rss.php" rel="self" type="application/rss+xml">
<channel>
<ttl>1</ttl>
<title>Welcome to our RSS Feed</title>
<link>http://www.site.com?s=rssimg</link>
<description>RSS Feed</description>
<language>en-us</language>
<pubDate>Mon, 02 Jan 2012 20:53:28 GMT</pubDate>
<lastBuildDate>Mon, 02 Jan 2012 20:53:28 GMT</lastBuildDate>
<generator>OnTheFly</generator>
<image>
 <title>Welcome to our RSS Feed</title>
 <url>http://www.site.com/images/header.png</url>
 <link>http://www.site.com?s=rssimg</link>
 <width>88</width>
 <height>31</height>
</image>
<item>
<![CDATA[
<title>title 4</title>
<guid>http://www.site.com/?v=4&h=r</guid>
<pubDate>Tue, 27 Dec 2011 12:35:51 GMT</pubDate>
]]>
</item>
<item>
<![CDATA[
<title>title 3</title>
<guid>http://www.site.com/?v=3&h=r</guid>
<pubDate>Mon, 26 Dec 2011 19:03:16 GMT</pubDate>
]]>
</item>
<item>
<![CDATA[
<title>title 2</title>
<guid>http://www.site.com/?v=2&h=r</guid>
<pubDate>Mon, 26 Dec 2011 19:03:15 GMT</pubDate>
]]>
</item>
<item>
<![CDATA[
<title>title 1</title>
<guid>http://www.site.com/?v=1&h=r</guid>
<pubDate>Fri, 01 Sep 2006 00:00:00 GMT</pubDate>
]]>
</item>
</channel>
</rss>

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreXML Programming > Getting errors that i do not understand

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap