Personal #php#rss#programming 1 min

GetNews v0.2 - First Release

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

After having modified a series of little programs that made HTML summaries from the RDF headlines of different sites, I have released a proprietary function based on the code of those scripts.

GetNews is a function programmed in PHP that has a series of parameters that let it know where the cyclical information starts in order to make the summaries of the "sites" that publish their headlines in RDF.

So to include its functions in our web we only have to call the function after having done an include or a require of the file that contains the function.

It is available in the projects directory of the portal.

2 comments

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

  1. Oriol Rius

    He estat implement la funcio getnews al portal i com ja sabia, però no
    havia comentat he vist q:

    slashdot.org i freshmeat.net no m'han portat cap problema ja q usen un sistema
    de creacio dels fitxers RDF completament ciclic.

    Encanvi barrapunto.com no usa RDF sino ULTRAMODE pero com q tb és
    totalment ciclic en la seva forma de crear els fitxers la funcio getnews es
    completament compatible amb el sistema.

    Finalment securityfocus.com usa un sistema una mica aleatori a l'hora d'ordenar
    la URL i la descripcio de la mateixa. Aixo en les funcions q agafaben les dades
    de cada site propiament ja ho tinc implementat.

    Per tant, no crec q faci un "parche" per la funcio getnews per tal de q sigui
    compatible amb el "site" securityfocus.

    A la seccio de projectes hi ha tots els fitxers q uso al portal per recollir
    les noticies.

  2. pau

    Miraré a veure si el puc utilitzar per a capturar les noticies de
    www.irc-hispano.org i el posare a la nova web q estic preparant per a
    www.irc.vinaros.net.

    Encara no entenc massa tot aixo del ultramode i el rdf, espero q amb
    irc-hispano.org em funcione.