|
I have the feeling, in every RSS.xml file, both the pubDate and the lastBuildDate match.
I am sure that this one, is not always true...
So firstly, what is the difference between those two above?
Secondly, the RSS readers, sort the content by Date, based...
Started by strakastroukas on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
pubDate:
The original publication date for the channel or item.....
pubDate specifies the actual on this unfortunately, but I am pretty positive that's what they are.
lastBuildDate specifies the last date/time the entry was modified.
|
|
Hi folks! I am having a problem with our RSS feed displaying correctly in Safari but not in Firefox. A sample is shown below. The issue is in the <title> tag under <pubdate>. The รณ shows correctly in Safari but is spelled out in Firefox. Has...
Started by Wilkie on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
If you want to really "see" what is happening with the HTML, your best bet is to use curl or wget to directly download the RSS feed and... .
I believe in either case it is actually encoded, but the Safari view is more sophisticated (may not be a good thing) .
|
|
I'm struggling to parse an XML file in PHP:
Here's the XML
<rss xmlns:ac="http://palm.com/app.catalog.rss.extensions" version="2.0"> <channel> <title>Device App Updates for US</title> <link>http://www.palm.com</link>...
Started by Oliver on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Here's the equivalent of what....
I've found that running a quick regex to remove the namespace and then passing the result to SimpleXml works fine where trying to parse out namespaced tags .
SimpleXml seems to deal with namespaces in a not-so-Simple manner .
|
Ask your Facebook Friends
|
I'm working on an RSS feed for a custom tasking system we use, and I'm still wrapping my head around how things should work. What I want to have is a feed for each user that shows tasks assigned to them, and additionally a feed for each task that shows...
Started by Joel Coehoorn on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Changing the <pubDate> does indicate....
The GUID provides the uniqueness for each item in the feed and will be marked as unread if you put the date updated in it .
The solution is to also change the GUID which means including the updated time in it .
|
|
Hello,
I have a old website that generate its own RSS everytime a new post is created. Everything worked when I was on a server with PHP 4 but now that the host change to PHP 5, I always have a "bad formed XML". I was using xml_parser_create() and xml...
Started by Daok on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
I've used this LGPL-licensed feedcreator class in the past and it worked quite well for the very simple use I had for it .
Then I'd cache it to disk with file_put_contents().
I would use simpleXML to create the required structure and export the XML .
|
|
Hi,
I've created a utf8 encoded RSS feed which presents news data drawn from a database. I've set all aspects of my database to utf8 and also saved the text which i have put into the database as utf8 by pasting it into notepad and saving as utf8. So everything...
Started by chromis on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Get rid of your escaping code and use XMLFormat instead:
<item> <title>#XMLFormat(news.headline... .
£ ) that is cause of the error.
If you use named entities (i.e.
You need to change & to & first.
Your escaping function is too simple.
|
|
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" xmlns:jskit="http://purl.org/dc/elements/1.1/" > <channel> <title>www.domain.com/page...
Started by vk123 on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
If you use a namespace-aware parser, you will have to specify the part after the colon and the URI defined for the part before the prefix when telling... .
If you use a namespace-unaware parser, then you will just have some element names with colons in them .
|
|
This is a new gmail labs feature that lets you specify an RSS feed to grab random quotes from to append to your email signature. I'd like to use that to generate signatures programmatically based on parameters I pass in, the current time, etc. (For example...
Started by dreeves on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Try setting the Cache-Control: no-cache....
Since it's under your control, and not google's, you can control if it caches or not .
You might be able to do something on the clientside, take a look at this greasemonkey script which randomly adds a signature .
|
|
I am running 12 threads .function which these threads are calling is not having any lock on some object.but still these threads are taking too much time.(16 minutes).each thread ially parsing a xml document which is running alright if run indiviually....
Started by sahil garg on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
You're then failing to dispose of the response and response stream, which means it'll wait until it's garbage collected to release the connection... .
If you're using web requests to the same server, those are throttled by default to two connections at a time .
|
|
I am using FeedForAll version 2.0.2.9 and have been trying to upload my feed. It gets about half way -- at the point of loading the enclosures -- then stops responding. It does not matter which item I try to load, the result is the same. I need to use...
Started by rdehne on
, 4 posts
by 2 people.
Answer Snippets (Read the full thread at feedforall):
Create RSS Feeds
Audio Recording and Editing rdehne
Joined: 28 Apr 2008
Posts: 7
Location: Belleville, IL
Posted: Tue Apr... .
Can you post a copy of the publishing log after you try uploading (publishing)? It could give some hints as to what the problem is .
|