Hey!
I want to monitor this site, but when I enter items-container
in the id or class attribute
field on the feed creator main page, then only one result is shown.
Is this a bug or by design?
Best wishes!
Hey!
I want to monitor this site, but when I enter items-container
in the id or class attribute
field on the feed creator main page, then only one result is shown.
Is this a bug or by design?
Best wishes!
Hi there, in_id_or_class
should be used to specify the container for each item, not the container for all items.
For example, for the given HTML:
<div class="items-container">
<div class="item"><a href="article1.html">Item 1</a></div>
<div class="item"><a href="article2.html">Item 2</a></div>
<div class="item"><a href="article3.html">Item 3</a></div>
</div>
in_id_or_class
should be āitemā not āitems-containerā
For the page you supplied, however, Feed Creator will still return only one item because the links in the HTML all have the same title: āRead moreā so you can combine it with &unique_title=0
:
In this particular example, if you want more information in the output, e.g. title and description, the markup requires that you use the more advanced parameters of Feed Creator: item
, and the associated item_title
, item_url
.
Thank you for your swift and helpful reply!
In my case the title comes after the 2nd p
, but Iām only able to define the āfirst pā: http://createfeed.fivefilters.org/index.php?url=http%3A%2F%2Fwww.index1520.com%2Fnews&item=.item&item_title=p&item_desc=p&unique_title=0&action=Preview#results
How would the proper command for the āsecond pā for the title look like?
Hi, you can try this:
p[2]
Many hugs, many thanks