OriolNews Portal:RDF Summaries
Translation of the original in Catalan. Read it in: CatalàCastellano
Part 8 of 14OriolNews Portal
- OriolNews Portal - v.0.0.1 Inital Release
- OriolNews Portal - v.0.0.2
- OriolNews Portal - Clock ok?
- OriolNews Portal - v.0.0.3
- OriolNews Portal: Lowering the system load
- OriolNews Portal: Black week
- OriolNews Portal: +URL's
- OriolNews Portal:RDF Summaries
- OriolNews Portal: Searches
- OriolNews Portal: SDMS
- OriolNews Portal: v0.0.4
- OriolNews Portal: systems
- OriolNews Portal: v0.0.5
- OriolNews Portal: 1st ANNIVERSARY!!!
After a few hours of hacking I've finally got the portal's RDF summary generator out; after so many days without programming with databases I almost didn't remember how it was done.
Thanks to this long-awaited routine, the portal will be able to generate RDF summaries that will then be used to make the portal's main page faster, as I explained in an earlier article; the routine is still missing:
-Making the content more abstract.
-Solving the xml bug in the header, which for now I don't know how to do.
-Introducing the calls to the routine in the middle of the portal code, so the summaries get made by themselves.
I've already made the necessary example line so that getnews interprets this file.
To see the fichero.rdf you have to connect to:
http://oriol.homeip.net/oriolnewsportal.rdf
if what you want to see is the summary made by getnews:
4 comments
Comments from the old blog, as they were written. Comments are closed.
Oriol Rius
La aplicació inmediata d'aquesta rutina és ser afegida al SIA
Project un cop provada i ajustada, així poder fer resums dels ultims
articles dels grups de discusió del SIA al portal i no hauré de
connectar tan sovint per veure si hi ha novetats.
Oriol Rius
Ja he buscat el seu valor en ASCII i he solucionat aquest petit problema.
'<' --> 0x3C
'>' --> 0x3E
Oriol Rius
He fet un update al fitxer rdf.php i ara tb mostra el contingut del fitxer
oriolnewsportal.rdf al mateix temps q el crea. Per tant, per veure el fitxer
RDF del portal ara només cal fer:
http://oriol.homeip.net/rdf.php
Oriol Rius
Els resums en format RDF (xml) q tenia fets pel portal no eren 100% compatibles
amb el format dels DTD de netscape sobre informació de websites
(implementació de Netscape Channels). Estuandiant aquest
estàndard per si es podia aplicar pel SIA he decidit treure la
versió 100% compatible amb els RSS 0.9.1 ja q era inmediat modificant el
q ja tenia fet si algú vol incloure les headlines del portal en el seu
site ara ja no tindrà cap problema.
La URL on es pot obtenir aquest resum és:
http://oriol.homeip.net/rss_0_9_1.php