From long_sam.tw@yahoo.com.tw Fri Jul 10 01:22:56 2026 From: "long_sam.tw" To: koha-devel@lists.koha-community.org Subject: [Koha-devel] koha rss Date: Tue, 27 Feb 2007 20:32:59 +0800 Message-ID: <760210.38519.qm@web72911.mail.tp2.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0479205510016295740==" --===============0479205510016295740== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable koha rss summary: how to configure rss on koha. Credit: Originally written by Pat Eyler (pate@eylerfamily.org), suggestions, advice, and help came from 'Content Syndication with RSS', Chris Cormack, Mike Hansen, Steve Tonnesen and a variety of folks on #koha at irc.katipo.co.nz. 1. environment koha 2.2.5 & koha 2.2.7 (templete for npl) 2. cvs=20 mkdir cvs=20 cd cvs cvs -z3 -d:pserver:anonymous@cvs.savannah.nongnu.org:/sources/koha co koha cd koha and copy -R rss/ /your-koha/intranet/modules/C4/ 3. lastAcquired-2.0.conf lastAcquire.conf books ------------------------------- channel title=3DRecent Koha Acquisitions link=3Dhttp://www.koha.org desc=3DThe 15 most recent acquisitions lang=3Den image title=3DKoha, the worlds best Open Source Library System url=3Dhttp://www.koha.org/images/foo.jpg link=3Dhttp://www.koha.org width=3D88 height=3D31 config tmpl=3D/opt/koha/intranet/modules/C4/rss/lastAcquired-2.0.tmpl output=3D/opt/koha/intranet/modules/C4/rss/lastAcquired-2.0.xml query=3Dselect biblio.title as title, biblio.author as author, biblio.biblion= umber as bibid, biblio.notes as notes, biblioitems.place as place, biblioitem= s.publishercode as publishercode, biblioitems.publicationyear as publicationy= ear, biblioitems.pages as pages, biblioitems.illus as illus, biblioitems.size= as size from biblio, biblioitems, items where biblioitems.biblionumber =3D i= tems.biblionumber and biblio.biblionumber =3D items.biblionumber and items.da= teaccessioned is not NULL order by items.issues desc 4. lastAcquired.tmpl =20 <!-- TMPL_VAR NAME=3D"CHANNELTITLE" --> http://blogs.law.harvard.edu/tech/rss Koha =20 <!-- TMPL_VAR NAME=3D"IMAGETITLE" --> Title=EF=BC=9A<!-- TMPL_VAR NAME=3D"TITLE" --> <!-- TMPL_IF NAME=3D"AUTHOR" --> Author=EF=BC=9A<!-- TMPL_VAR NAME=3D"AUTHOR" --> <!-- /TMPL_IF --> http://www.koha.org/cgi-bin/koha/opac-detail.pl?bib=3D Author=EF=BC=9A
=20


">Details | ">Reserve | &resultsperpage=3D20&orderby=3Dbiblio.title&op=3Ddo_s= earch">other works ]]>
5. navigation.inc # add=20 http://www.w3.org/People/Ishida/images/rdf_flyer-small.gif> http://lit145.lac= c.fju.edu.tw/koha/rss/lastAcquired-2.0.xml>The 15 most recent acquisitions 6. crontab crontab -e 0 8,17 * * * /opt/koha/intranet/modules/C4/rss/rss.pl /opt/koha/intranet/modu= les/C4/rss/lastAcquired-2.0.conf 7. koha-httpd.conf www.koha.org:80> ServerAdmin long_sam.tw@yahoo.com.tw DocumentRoot /opt/koha/opac/htdocs ServerName www.koha.org ScriptAlias /cgi-bin/koha/ /opt/koha/opac/cgi-bin/ Redirect permanent index.html http://www.koha.org:80/cgi-bin/koha/opac-mai= n.pl -----------------------------------------------------------------------------= ------ # add Alias Alias /koha/rss/lastAcquired-2.0.xml "/opt/koha/intranet/modules/C4/rss/la= stAcquired-2.0.xml" =20 restart apache 8. use google reader http://farm1.static.flickr.com/186/404542415_d0b27b3e67_o.png you can use firefox 2.0 9. demo site=20 http://lit145.lacc.fju.edu.tw http://koha.nkes.ntct.edu.tw http://koha.jente.edu.tw 10. chinese information http://koha.wikispaces.com/rss laxendion ___________________________________________________=20 =E6=82=A8=E7=9A=84=E7=94=9F=E6=B4=BB=E5=8D=B3=E6=99=82=E9=80=9A =EF=BC=8D = =E6=BA=9D=E9=80=9A=E3=80=81=E5=A8=9B=E6=A8=82=E3=80=81=E7=94=9F=E6=B4=BB=E3= =80=81=E5=B7=A5=E4=BD=9C=E4=B8=80=E6=AC=A1=E6=90=9E=E5=AE=9A=EF=BC=81=20 http://messenger.yahoo.com.tw/ --===============0479205510016295740==--