473,396 Members | 2,037 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

another RSS error

My PHP script is trying to generate valid RSS, but I get a "misplaced
pubDate" error on this feed:

http://feedvalidator.org/check.cgi?u...2Fpage1882.xml

What does that mean? I look at the RSS .91 definitions, as near as I
can see the pubDate is in the order listed.
Jul 20 '05 #1
1 1146
lawrence wrote:
My PHP script is trying to generate valid RSS, but I get a "misplaced
pubDate" error on this feed:

http://feedvalidator.org/check.cgi?u...2Fpage1882.xml

What does that mean? I look at the RSS .91 definitions, as near as I
can see the pubDate is in the order listed.


Your item element contains a pubData element, and the rule:

<!ELEMENT item (title | link | description)*>

Does not allow this. Item elemsn can only have title link or description elements.

Your xml code:
line 12-16:

# <title>My favorite Adam Smith quote</title>
# <description> This is my favorite quote of Adam Smith's. It is from an article on libertyHaven.com, of which the following is an excerpt. In this quote Smith mentions 3 things needed for economic progress: peace, low taxes, and functioning courts. Conservative commentators tend to underestimate the importance of the first of these, and left wing commentators tend to underestimate the second of these. -------------------------------------------------- &amp;quot;As early as 1749 - before major works of the French laissez-faire economists were published -Smith had concluded that the way to promote prosper... read more at the link below.</description>
# <link>http://www.krubner.com/index.php?pageId=1882</link>
# <pubDate>Tue, 25 Feb 2003 14:22:31 CST</pubDate>
# </item>

Does not follow this rule
Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Tim Gaunt | last post by:
Hi, I'm hoping that someone will be able to help me with this one, I'm developing an application which basically inserts a load of data into the database ready for validation at a later date, I...
5
by: Edward Diener | last post by:
This has occurred in MC++, but since there is very little response on that NG, I am also reporting it here in the hope that someone can find me a workaround, and report it to MS. If a __value...
0
by: Edward Diener | last post by:
If a __value class with an event is put into an assembly, and a __gc class in another assembly attempts to attach its own event handler to the __value class's event of an embedded object of the...
0
by: rob | last post by:
I did create a dll A using managed c++. I have no problem using this dll in a .NET application using c#. I now have another dll B that uses functionality from the first dll A. When building dll B I...
2
by: eagle | last post by:
How do I access a control, like a placeholder, from another page, or another user control that may be on the same page. For instance, I have a web page with 2 user controls. One user controls...
27
by: Javier Martinez | last post by:
Hi I have asp application in a machine with a virtual directory referring a shared directory in another machine When I try to load any aspx page of my portal I get the following error: ...
5
by: M O J O | last post by:
Hi, I want to expose a enum from another class, is that possible and how? Here's an example Public Class ClassMaster Public Enum Colors
0
by: Access Programming only with macros, no code | last post by:
ERROR MESSAGE: Could not update; currently locked by another session on this machine. BACKGROUND I have the following objects: Table1 - HO (which has about 51,000+ records) Table2 -...
11
by: Jan | last post by:
Hi: Here's a problem I've had for a long time. The client is really running out of patience, and I have no answers. Access2003, front- and back-end. Single form with 4 subforms (each...
11
by: fniles | last post by:
One of our application uses VB6 and Access97 database. Another application uses VB.NET 2005. This morning for about 15 seconds when the application tries to read either a query or a table from the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.