Hi,

I have the below XML format:

<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom";>
<channel>
<title>NEWS</title>
<description> Today</description>
<link>http://abc.day.in/</link>
<lastBuildDate>Mon, 16 Jun 2014 06:54:15 GMT</lastBuildDate>
<generator>FeedCreator 1.7.2</generator>
<image>
<url>http://abc.day.in/service/images/rss/16-June-1.jpg</url>
<title>India Today | TN NEWS</title>    
<link>http://abc.day.in/</link>         
<description>abc today</description>
</image>
<item>
<title>threatening mails</title>
<link>http://abc.day.in</link>
<description> Two persons were taken into custody for spreading threatening
mails</description>
<image>http://abc.day.in/service/images/rss/16-June-1.jpg</image>
<pubDate>Mon, 16 Jun 2014 06:54:15 GMT</pubDate>
</item>
<item>
<title>threatening mails 2</title>
<link>http://abc.day2.in</link>
<description> Two persons were taken into custody for spreading 2
threatening mails</description>
<image>http://abc2.day.in/service/images/rss/16-June-1.jpg</image>
<pubDate>Mon, 16 Jun 2014 06:54:15 GMT</pubDate>
</item>
</channel>
</rss>


I would like to know how to configure the data-config.xml by adding 
1. XPath entity processor and
2. iterate on items and channel
3. Extract the /rss/channel/title, /rss/channel/description information on
to all items while indexing

I am able to extract only on items, but retreiving item level sibling data
is not happening.

Thanks,
Manu



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-RSS-feed-import-tp4142088.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to