Personal #oriolrius#rss#php 1 min

OriolNews Portal:RDF Summaries

Translation of the original in Catalan. Read it in: CatalàCastellano

Part 8 of 14OriolNews Portal
  1. OriolNews Portal - v.0.0.1 Inital Release
  2. OriolNews Portal - v.0.0.2
  3. OriolNews Portal - Clock ok?
  4. OriolNews Portal - v.0.0.3
  5. OriolNews Portal: Lowering the system load
  6. OriolNews Portal: Black week
  7. OriolNews Portal: +URL's
  8. OriolNews Portal:RDF Summaries
  9. OriolNews Portal: Searches
  10. OriolNews Portal: SDMS
  11. OriolNews Portal: v0.0.4
  12. OriolNews Portal: systems
  13. OriolNews Portal: v0.0.5
  14. 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:

http://oriol.homeip.net/getnews/oriolnewsportal.php

4 comments

Comments from the old blog, as they were written. Comments are closed.

  1. 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.

  2. Oriol Rius

    Ja he buscat el seu valor en ASCII i he solucionat aquest petit problema.

    '<' --> 0x3C

    '>' --> 0x3E

  3. 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

  4. 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