FeedMod xpath for more than one elements

Support requests, bug reports, etc. go here. Dedicated servers / VDS hosting only
Bear Rating Trainee
Bear Rating Trainee
Posts: 15
Joined: 20 Nov 2013, 17:35

FeedMod xpath for more than one elements

Postby giovi » 07 Jul 2014, 23:16

I was trying to parse this page with FeedMod using xpath: http://thehackernews.com/2014/07/minilo ... FeedBurner

Code: Select all

   "thehackernews": {
       "type": "xpath",
       "xpath": "div[contains(@id,'aim')]"

I did that because at the beginning of the article there's always a tag <div id='aim28377331916538255078'> and the number is random.
The problem is that xpath parses only the first div tag containing id=aim and as a result it parses only half article.
Any suggestion?
Thank you in advance.

Return to “Support”

Who is online

Users browsing this forum: No registered users and 14 guests