Closed (fixed)
Project:
Feeds
Version:
7.x-2.0-alpha8
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
25 Oct 2013 at 17:48 UTC
Updated:
12 Feb 2015 at 11:34 UTC
Jump to comment: Most recent
Comments
Comment #1
janebootydoe commentedDid you ever find a solution for this?
Comment #2
megachrizYes there is, it is not quite simple though. Instead of using the "Common syndication parser", you can use the "XML Xpath parser" provided by Feeds extensible parsers. You will need to learn Xpath to know how to extract the url from the feed. Something like
description/a@href. If the URL is not isolated inside XML-tags, but rather somewhere in the text (for example:<description>Lorem ipsum http://www.example.com/example.mp3 dolor sit amet</description>instead of<description>Lorem ipsum <a href="http://www.example.com/example.mp3">Link</a> dolor sit amet</description>you will probably need to use the "Find replace REGEX" plugin from Feeds Tamper instead. For this you need to learn how regular expressions work.