Good afternoon,
I'm using solr 4.0 Final.
I have an IBM atom feed I'm trying to index but it won't work.
There are no errors in the log.
All the other DIH I've created consumed RSS 2.0
Does it NOT work with an atom feed?

here's my configuration:
<?xml version="1.0" encoding="UTF-8" ?>
<dataConfig>
<dataSource type="URLDataSource" />
<document>
<entity name="C3Files_from_Seedlist"
            pk="id"
            url="https://[redacted]";
            processor="XPathEntityProcessor"
            forEach="/atom:feed/atom:entry"
            transformer="DateFormatTransformer,TemplateTransformer">

                <field column="id" xpath="/atom:feed/atom:entry/atom:link@href" 
/>
        <field column="link" xpath="/atom:feed/atom:entry/atom:link@href" />
                <field column="c3filetitle" 
xpath="/atom:feed/atom:entry/atom:title" />
        
                <field column="author" 
xpath="/atom:feed/atom:entry/atom:author" />
                
                <field column="authoremail"
xpath="/atom:feed/atom:entry/atom:author/atom:email" />
        
                
                <field column="published" 
xpath="/atom:feed/atom:entry/atom:published"
dateTimeFormat="yyyy-MM-dd" />
                <field column="updated" 
xpath="/atom:feed/atom:entry/atom:updated"
dateTimeFormat="yyyy-MM-dd" />
                
                <field column="attr_stream_content_type"
xpath="/atom:feed/atom:entry/atom:link@type" />
                <field column="index_category" template="ConnectionsFiles" />
     
    </entity>
</document>
</dataConfig>



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Can-the-solr-dataimporthandler-consume-an-atom-feed-tp4126134.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to