Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Is it possible to scrape a node for links and then have Feeds XPath scrape the URL endpoints from those links for designated XPath elements and node content? If so, how?
I've figured out how to import content from a node but the thing I'm stuck on is how to feed the imported endpoints to scrape content from, somewhat like a FOREACH loop would do: foreach link, grab, say, "//*[contains(concat(" ", normalize-space(@class), " "), " element_class ")]", and create individual nodes from each iteration...
Any insight into this would be appreciated.
Comments
Comment #1
twistor CreditAttribution: twistor commentedI'm working on a plugin for feeds_ex that can do something like this, but it will require feeds_tamper.