Update of /cvsroot/phpslash/phpslash-dev/include/templates/en/basic
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8704/phpslash-dev/include/templates/en/basic
Modified Files:
backendRSS91.tpl slashHead-fckeditor.tpl
slashHead-htmlarea3.tpl slashHead.tpl
Added Files:
backendAtom.tpl backendRSS2.tpl
Log Message:
Added Atom and RSS2.0 feeds. Default changed to RSS2.0.
--- NEW FILE: backendAtom.tpl ---
<?xml version="1.0" encoding="utf-8"?>
<feed version="0.3" xmlns="http://purl.org/atom/ns#">
<title>{SITE_TITLE}</title>
<link rel="alternate" type="text/html"
href="{ROOTDIR}"/>
<modified>{DATE}</modified>
<author>
<name>{SITE_NAME}</name>
<url>http://www.php-slash.org</url>
<email>{SITE_OWNER}</email>
</author>
<generator url="http://www.php-slash.org/" version="0.8">
phpSlash
</generator>
<!-- BEGIN each_story -->
<entry>
<title>{TITLE}</title>
<link rel="alternate" type="text/html"
href="{ROOTURL}/index.php?story_id={STORY_ID}"/>
<author>
<name>{NAME}</name>
<url>{URL}</url>
</author>
<id>tag:{SITE_NAME}:{STORY_ID}</id>
<issued>{DATEF}</issued>
<modified>{DATEF}</modified>
<summary
type="text/plain"
mode="escaped">
{INTRO_TEXT}
</summary>
<content
type="text/plain"
mode="escaped">
{INTRO_TEXT}
{BODY_TEXT}
</content>
</entry>
<!-- END each_story -->
</feed>
--- NEW FILE: backendRSS2.tpl ---
<?xml version="1.0"?>
<rss version="2.0">
<channel>
<title>{SITE_TITLE}</title>
<link>{ROOTDIR}</link>
<description>{SITE_SLOGAN}</description>
<language>en-us</language>
<pubDate>{DATE}</pubDate>
<lastBuildDate>{DATE}</lastBuildDate>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<generator>phpSlash 0.8</generator>
<managingEditor>{SITE_OWNER}</managingEditor>
<webMaster>{SITE_OWNER}</webMaster>
<!-- BEGIN each_story -->
<item>
<title>{TITLE}</title>
<link>{ROOTURL}/index.php?story_id={STORY_ID}</link>
<description>{INTRO_TEXT}</description>
<pubDate>{DATEF}</pubDate>
<guid>{ROOTURL}/index.php?story_id={STORY_ID}</guid>
</item>
<!-- END each_story -->
</channel>
</rss>
Index: backendRSS91.tpl
===================================================================
RCS file: /cvsroot/phpslash/phpslash-dev/include/templates/en/basic/backendRSS91.tpl,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** backendRSS91.tpl 12 Mar 2003 16:12:52 -0000 1.1.1.1
--- backendRSS91.tpl 1 Nov 2004 17:35:48 -0000 1.2
***************
*** 24,28 ****
<item>
<title>{TITLE}</title>
! <link>{ROOTDIR}/article.php?story_id={STORY_ID}</link>
<description>{INTRO_TEXT}</description>
</item>
--- 24,28 ----
<item>
<title>{TITLE}</title>
! <link>{ROOTDIR}/index.php?story_id={STORY_ID}</link>
<description>{INTRO_TEXT}</description>
</item>
Index: slashHead-fckeditor.tpl
===================================================================
RCS file: /cvsroot/phpslash/phpslash-dev/include/templates/en/basic/slashHead-fckeditor.tpl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** slashHead-fckeditor.tpl 30 Oct 2004 15:17:21 -0000 1.2
--- slashHead-fckeditor.tpl 1 Nov 2004 17:35:48 -0000 1.3
***************
*** 15,20 ****
<!-- END each_metatag -->
<link rel="alternate" type="application/rss+xml" title="RSS" href="{ROOTDIR}/backend.php" />
! <link rel="stylesheet" type="text/css" href="{ROOTDIR}/styles/{CSS}.css" />
! <link rel="stylesheet" type="text/css" href="{ROOTDIR}/styles/{CSS}_print.css" media="print"/>
<!-- BEGIN FCKeditor Javascript -->
--- 15,19 ----
<!-- END each_metatag -->
<link rel="alternate" type="application/rss+xml" title="RSS" href="{ROOTDIR}/backend.php" />
! <link rel="alternate" type="application/atom+xml" title="RSS" href="{ROOTDIR}/backend.php?view=atom" />
<!-- BEGIN FCKeditor Javascript -->
Index: slashHead-htmlarea3.tpl
===================================================================
RCS file: /cvsroot/phpslash/phpslash-dev/include/templates/en/basic/slashHead-htmlarea3.tpl,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** slashHead-htmlarea3.tpl 23 Aug 2004 22:19:23 -0000 1.4
--- slashHead-htmlarea3.tpl 1 Nov 2004 17:35:48 -0000 1.5
***************
*** 15,18 ****
--- 15,20 ----
<!-- END each_metatag -->
<link rel="alternate" type="application/rss+xml" title="RSS" href="{ROOTDIR}/backend.php" />
+ <link rel="alternate" type="application/atom+xml" title="RSS" href="{ROOTDIR}/backend.php?view=atom" />
+
<link rel="stylesheet" type="text/css" href="{ROOTDIR}/styles/{SKIN}.css" />
<!-- BEGIN HTMLAREA3 Javascript -->
Index: slashHead.tpl
===================================================================
RCS file: /cvsroot/phpslash/phpslash-dev/include/templates/en/basic/slashHead.tpl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** slashHead.tpl 19 Oct 2004 16:55:33 -0000 1.2
--- slashHead.tpl 1 Nov 2004 17:35:48 -0000 1.3
***************
*** 15,18 ****
--- 15,19 ----
<!-- END each_metatag -->
<link rel="alternate" type="application/rss+xml" title="RSS" href="{ROOTDIR}/backend.php" />
+ <link rel="alternate" type="application/atom+xml" title="RSS" href="{ROOTDIR}/backend.php?view=atom" />
<link rel="stylesheet" type="text/css" href="{ROOTDIR}/styles/{CSS}.css" media="screen"/>
|