You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Jon Baer <jo...@gmail.com> on 2008/09/16 19:11:39 UTC
DIH + RSS (@attributes)
Hi,
For some reason my XPath attribute keeps failing to get picked up here
(is that the proper format?):
<field column="thumbnail" xpath="/rss/channel/item/enclosure@url"/>
- Jon
Re: DIH + RSS (@attributes)
Posted by Jon Baer <jo...@gmail.com>.
That was it, thanks Shalin.
On Sep 16, 2008, at 1:41 PM, Shalin Shekhar Mangar wrote:
> On Tue, Sep 16, 2008 at 10:41 PM, Jon Baer <jo...@gmail.com> wrote:
>
>> For some reason my XPath attribute keeps failing to get picked up
>> here (is
>> that the proper format?):
>>
>> <field column="thumbnail" xpath="/rss/channel/item/enclosure@url"/>
>>
>>
> Put a slash between node and attribute.
>
> <field column="thumbnail" xpath="/rss/channel/item/enclosure/@url"/>
>
> --
> Regards,
> Shalin Shekhar Mangar.
Re: DIH + RSS (@attributes)
Posted by Shalin Shekhar Mangar <sh...@gmail.com>.
On Tue, Sep 16, 2008 at 10:41 PM, Jon Baer <jo...@gmail.com> wrote:
> For some reason my XPath attribute keeps failing to get picked up here (is
> that the proper format?):
>
> <field column="thumbnail" xpath="/rss/channel/item/enclosure@url"/>
>
>
Put a slash between node and attribute.
<field column="thumbnail" xpath="/rss/channel/item/enclosure/@url"/>
--
Regards,
Shalin Shekhar Mangar.