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.
Hi,
I would very much like to scrape the right url out of a already build feed, but the url is embedded, so not in a cck field.
The code is from the taxonomy/term/[number]/0/feed:
<a href="http://www.bellavakanza.nl/luxe-vakantie/index.aspx?tt=1623_0_31336_&amp;r=http://www.bellavakanza.nl/malta/malta/st_julians/hotel_westin_dragonara_resort.htm">Boek nu deze reis naar Hotel Westin Dragonara Resort</a> </div>
I would like to have http://www.bellavakanza.nl/luxe-vakantie/index.aspx?tt=1623_0_31336_&r=h... in a different cck_link field using feedapi_scraper.
Could you tell how I can do this with regular expressions please?
Thanks a lot in advance!
Greetings,
Martijn
Comments
Comment #1
Summit CreditAttribution: Summit commentedIt worked some time..but don't know how I did it anymore...
EDIT: please assist, what xpath expression do I need to get the url scraped?