Hi,

I have the RSS DIH example working with my own RSS feed - here is the configuration for it.

<dataConfig>
    <dataSource type="URLDataSource" />
    <document>
        <entity name="nvd-rss"
                pk="link"
                url="https://nvd.nist.gov/download/nvd-rss.xml";
                processor="XPathEntityProcessor"
                forEach="/RDF/item"
                transformer="DateFormatTransformer">

<field column="id" xpath="/RDF/item/title" commonField="true" /> <field column="link" xpath="/RDF/item/link" commonField="true" /> <field column="summary" xpath="/RDF/item/description" commonField="true" /> <field column="date" xpath="/RDF/item/date" commonField="true" />

        </entity>
    </document>
</dataConfig>

However, my problem is that I also have to load multiple XML feeds into the same core. Here is one example (there are about 10 of them):

http://static.nvd.nist.gov/feeds/xml/cve/nvdcve-2.0-2014.xml.zip


Is there any built-in functionality that would allow me to do this? Basically, the use-case is to load and index all the XML ZIP files first, and then check the RSS feed every two hours and update the indexes with any new ones.

Regards,

Joe


Reply via email to