HELP ...............
Thursday, 8 November 2012 · 2 messages
AB
anush badii8 Nov 2012 02:49 #
I have an XML feed that continuously gets updated if you refresh the http connection.
How do I put this data in baseX without repetition?
How do I refresh my browser automatically?
my XML feed is at
http://media.chp.ca.gov/sa_xml/sa.xml
CG
Christian Grün8 Nov 2012 12:56 #
Dear Anush,
it will be difficult to support RSS storage out of the box. Instead, as you already guessed, you'll have to decide which feeds are already stored in your database, and which are new. There are some unique indicators in your XML stream that will help (most predominantly the timestamp.
We once had a student project that revolved around integrating RSS support to BaseX. The code base hasn't been updated for quite a while, but if you are interested, I can provide you with a snapshot of the Eclipse project.
Christian
Quoted text · anush badii · 15 lines
On Thu, Nov 8, 2012 at 1:49 AM, anush badii <anushbadii at gmail.com> wrote: > I have an XML feed that continuously gets updated if you refresh the http > connection. > > How do I put this data in baseX without repetition? > How do I refresh my browser automatically? > my XML feed is at > http://media.chp.ca.gov/sa_xml/sa.xml > > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >
Written for BaseX 7.3. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery