Questions tagged [pubdate]

26 questions
13
votes
6 answers

Convert RSS pubDate to a timestamp

How to convert a date string Mon, 24 May 2010 17:54:00 GMT from RSS feed to a timestamp in PHP ?
hsz
  • 148,279
  • 62
  • 259
  • 315
4
votes
1 answer

Can't get pubDate to output in Yahoo! Pipes?

In one of my RSS feeds in Yahoo! Pipes, I'm formatting dates using the Date Formatter module and using the format %K so they are pubDate-compliant. In Pipe Output, my four dates appears as follows: Wed, 25 Jul 2012 03:30:00 +0000, Mon, 16 Jul 2012…
Gary
  • 3,891
  • 8
  • 38
  • 60
3
votes
1 answer

Yahoo Pipes RSS pubDate showing as "undefined" when viewed through Google Feeds API

I have an RSS feed which I've created in Yahoo Pipes. You can view it here. When viewing that through Google Feed's API, however, the pubDate is coming up as undefined (for avoidance of doubt, I've also tried formatting that with the case…
Sinister Beard
  • 3,570
  • 12
  • 59
  • 95
1
vote
1 answer

Format 2 strings to RSS PubDate

ive got 2 strings, date:"27.03.11 " and time:"15:04", which id like to format as a PubDate elemnt for a rss file like Fri, 18 Nov 2005 19:12:30 GMT. How can i do this in c sharp?
kojoma
  • 313
  • 2
  • 3
  • 12
1
vote
3 answers

Javascript pubDate RSS Format

I have a RSS feed reader created using javascript and need to format the date. At present the pubDate is set to .toLocaleDateString and displays differently on various machines. Does anybody know if I can set this to a standard dd/mm/yyyy…
Haribo83
  • 155
  • 2
  • 13
1
vote
1 answer

Coldfusion XML PubDate Time Comparison

I have a project I'm creating in Coldfusion 10 and it's almost done but I just need to display how long it is has been since the last update in the XML feed. I know this shouldn't be too difficult but I can't seem to figure it out. The project is…
1
vote
2 answers

Convert RSS pubdate string to time and date in jQuery

So I have a String which will be something like Wed, 08 May 2013 11:11:30 GMT. (FYI, it is pulled from an XML RSS file) What I am trying to to is go from the above string to two variables, Wed, 08 May and 11:11. As far as I can tell, there are…
Benedict Lewis
  • 2,733
  • 7
  • 37
  • 78
1
vote
1 answer

convert pubDate to timestamp rss in yql

I have a YQL query where I am accessing data from an RSS feed. I want to get the pubDate for the articles in the feed, but I don't want it to be in (for example) this format: Fri, 30 Nov 2012 14:19:55 +0000 I would prefer it to be in this…
rsanchez11
  • 63
  • 4
1
vote
4 answers

Convert int-date to RSS PubDate RFC 822 PHP

I have a question that is making me crazy, My Task is to parse a date from an API and transform it to RFC 822 format, because the feed that is coming out gets an validation error the date from the API looks like this :
john Smith
  • 17,409
  • 11
  • 76
  • 117
1
vote
2 answers

How to query YQL rss table by pubDate

I would like to get yahoo finance news for last 3 days, something like that select * from rss where url='http://finance.yahoo.com.news/rss' and pubDate >= '2012-06-23' BUT this part "pubDate >= '2012-06-23'" is ignored. I always get the same…
0
votes
1 answer

Format Date and text

I need to format the pubDate to example : 2 hours ago, 2 days ago or 20 hours ago .... while keeping the original date of the feed cause i tried to format before and i get all my feeds same pubDate the one i set in Date format and the date…
0
votes
0 answers

I'm trying to store pubdate tag of xml into database using python. I'm using beautifulsoup for web crawler

Above is the xml tag now how can I store this date tag into dbms? from bs4 import BeautifulSoup import requests import pymysql headers = { 'User-Agent': ' agent' …
0
votes
1 answer

How to parse pubDate from rss in flutter?

I am trying to parse pubDate from rss into DateTime object. String parseFormat = "ddd, dd MMM yyyy HH:mm:ss zzz"; this.pubDate = new DateFormat(parseFormat).parse(json['pubDate']); This throws error Trying to read ddd from Thu, 14 May 2020…
Kshitij Dhakal
  • 816
  • 12
  • 24
0
votes
1 answer

How to host an RSS Feed on an Ubuntu VPS

I'm trying to host an RSS feed for iTunes and I keep getting a mismatched tag error Ubuntu // Apache feed url is: http://fourteenthrees.com/podcasts/feed.xml my code is:
0
votes
1 answer

Error to import rss feeds tag pubDate into MySQL database using python

I have an issue about to insert the tag pubDate in my table mysql, actually I am trying to put into my table noticias the tags (title, link and pubDate) and the last tag (PubDate) have problem. I explain the code: the first step read a page rss…
aaguirre
  • 5
  • 5
1
2