Commit graph

10 commits

Author SHA1 Message Date
elij
5ca82939ce renamed rss2 -> rss
changed file name, as the 2 is relatively meaningless.
I think at one time it qualified it as a rss2.0 feed, but the
distinction is valueless at this point, since the generated xml
itself declares the rss version.

make sure to set an apache rewrite rule for any production systems
that require it.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-09-28 16:12:59 -04:00
elij
a8bf1108b4 cleanup rss2.php
- removed excessive string catenation, replaced with variable substitution
- consolidated http/https protocol checks
- simplified host header parse (centralized)
- moved cache file to /tmp, to remove need to custom permission directory in webdir

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-09-28 16:08:22 -04:00
Dan McGee
46f2798524 Use include_once where applicable
All of these are sourcing function libraries so we don't need to include
them more than once. Things that insert actual HTML into the output were
left calling include().

Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-08-11 13:58:12 -04:00
Loui Chang
610733eafd Remove excess whitespace.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-06-25 00:05:44 -04:00
Loui Chang
3a42725601 Remove all vim mode lines. Add HACKING file.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-06-17 01:38:01 -04:00
Loui Chang
f61a345d8d Fix FS 10008 and update rss2.php
The newline was the actual problem. Freaking PHP.

rss2.php:
- check for protocol once total rather than twice per loop iteration
- lower cache time to 30 min

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-04-03 19:58:44 -05:00
pjmattal
452d6b1245 patch from eliott to convert all <? to <?php 2007-09-20 21:46:43 +00:00
pjmattal
c3a90420e2 added dsa's header include patch 2006-08-08 00:59:10 +00:00
simo
e45d8daaba fixed some relative links and rss problems with https 2005-06-10 23:24:34 +00:00
simo
a81f22da2d RSS support implemented
Latest packages also on homepage

DEPLOYMENT NOTES:
- web/html/xml must be world writable
2005-06-10 23:07:24 +00:00