Hi,
I am looking at the slashdot example and I am having hard time understanding
the following, from the wiki
==
"You can use this feature for indexing from REST API's such as rss/atom feeds,
XML data feeds , other Solr servers or even well formed xhtml documents . Our
XPath support has its limitations (no wildcards , only fullpath etc) but we
have tried to make sure that common use-cases are covered and since it's based
on a streaming parser, it is extremely fast and consumes constant amount of
memory even for large XMLs. It does not support namespaces , but it can handle
xmls with namespaces . When you provide the xpath, just drop the namespace and
give the rest (eg if the tag is '<dc:subject>' the mapping should just contain
'subject').Easy, isn't it? And you didn't need to write one line of code! Enjoy"
==
How does <dc:subject> becomes field subject and why it's mapping
xpath="/RDF/item/subject".. what is the secret?
I am trying to index atom files and I need to understand the above cos I have
namespace, not sure how to proceed. are there any atom example anywhere?
Thanks again for clarification.
Anton
__________________________________________________________
Ta semester! - sök efter resor hos Kelkoo.
Jämför pris på flygbiljetter och hotellrum här:
http://www.kelkoo.se/c-169901-resor-biljetter.html?partnerId=96914052