First of all, I really love your products, and have bought the hosted version for both Full-Text and Feed-Creator Been testing it both with great results.
I saw on the latest release the following:
New parameter: item_date - CSS selector to pick out item dates (extract.php endpoint)
How can we use this?
In particular, Iâm using Full-Text-RSS on the Engadget.com website, just to grab some specific articles, the description extraction goes ok, but I cant get the articles date. How can it be done? (extract dates from articles) can you provide an example?
Thanks Diogo, glad youâre finding the software useful!
About your question, the item_date parameter was added for our Feed Creator tool - so itâs intended to be used for sites which donât already offer a feed. Hereâs an example of how it works (have a look at the âSubmitted parametersâ section):
It has to be used in combination with the item parameter. The item parameter is used to tell Feed Creator which elements contain the information (URL, title, date, description) of each news item. The item_title, item_date, item_url, item_desc parameters are then applied within the context of the item element to select and extract these elements.
However, your question suggests youâre using Full-Text RSS, not Feed Creator, on a site that already has a feed. In this case, the original date in the original feed should be preserved by Full-Text RSS. At least it is if I try putting http://www.engadget.com/rss.xml through Full-Text RSS.
If youâre working with a feed that doesnât include item dates. You can tell Full-Text RSS to extract this from the source article when itâs pulling out the body. To do that, you need to create or edit the site config file associated with the site and tell it which element holds the date value. See http://help.fivefilters.org/customer/portal/articles/223153-site-patterns for more information on how to do this.