[Phoenix-commits] rev 18942 - in public/yulup/website: news-entries xslt

michi at wyona.com michi at wyona.com
Mon Oct 2 22:07:52 CEST 2006


Author: michi
Date: 2006-10-02 22:07:51 +0200 (Mon, 02 Oct 2006)
New Revision: 18942

Modified:
   public/yulup/website/news-entries/very-first-entry.xml
   public/yulup/website/xslt/homepage.xsl
   public/yulup/website/xslt/patch-atom-link-self.xsl
Log:
atom link fixed

Modified: public/yulup/website/news-entries/very-first-entry.xml
===================================================================
--- public/yulup/website/news-entries/very-first-entry.xml	2006-10-02 20:05:07 UTC (rev 18941)
+++ public/yulup/website/news-entries/very-first-entry.xml	2006-10-02 20:07:51 UTC (rev 18942)
@@ -2,9 +2,10 @@
  <atom:title type="text">Yulup supports Atom</atom:title>
  <atom:author><atom:name>Michael H. Wechner</atom:name></atom:author>
 
- <atom:id>urn:yanel-uuid:atom:release-entries:ulysses-prototype-1-0.1.10-rc3-r16660.xml</atom:id>
+ <atom:id>urn:yanel-path:news-entries:first-entry.xml</atom:id>
  <atom:updated>2006-09-30T01:14:15.892Z</atom:updated>
  <atom:published>2006-09-29T16:30:56-01:00</atom:published>
+ <atom:link href="http://127.0.0.1:8080/ulysses-website/news-entries/first-entry.xml"/>
 
 <!-- 
 <atom:summary type="html">Yulup supports APP and the Atom format.</atom:summary>
@@ -18,4 +19,4 @@
    </xhtml:div>
  </atom:content>
  <dc:subject xmlns:dc="http://purl.org/dc/elements/1.1/">Very first entry</dc:subject>
-</atom:entry>
\ No newline at end of file
+</atom:entry>

Modified: public/yulup/website/xslt/homepage.xsl
===================================================================
--- public/yulup/website/xslt/homepage.xsl	2006-10-02 20:05:07 UTC (rev 18941)
+++ public/yulup/website/xslt/homepage.xsl	2006-10-02 20:07:51 UTC (rev 18942)
@@ -24,7 +24,13 @@
   <title><xsl:value-of select="/hp:homepage/hp:title"/></title>
   <link rel="neutron-introspection" type="application/neutron+xml" href="introspection-index.xml"/>
   <link rel="stylesheet" href="{$yarep.back2realm}css/common.css" title="Standard Style"/>
+  <link rel="alternate" type="application/atom+xml" href="{$yarep.back2realm}atom.xml" title="Yulup News (Atom Feed)"/>
+<!--
+  <link rel="alternate" type="application/atom+xml" href="{$yarep.back2realm}atom.xml?yanel.resource.viewid=atom" title="Yulup News"/>
+-->
+<!--
   <link rel="alternate" type="application/atom+xml" href="{$yarep.back2realm}news-entries/?yanel.resource.viewid=atom" title="Yulup News"/>
+-->
   <meta name="generator" content="Wyona Yanel"/>
   <!-- See http://en.wikipedia.org/wiki/Favicon -->
   <link href="{$yarep.back2realm}images/favicon.png" rel="icon" type="image/png"/>

Modified: public/yulup/website/xslt/patch-atom-link-self.xsl
===================================================================
--- public/yulup/website/xslt/patch-atom-link-self.xsl	2006-10-02 20:05:07 UTC (rev 18941)
+++ public/yulup/website/xslt/patch-atom-link-self.xsl	2006-10-02 20:07:51 UTC (rev 18942)
@@ -6,14 +6,14 @@
   xmlns="http://www.w3.org/2005/Atom"
 >
 
+<xsl:template match="/atom:feed/atom:link[@rel='self']">
+  <link rel="self" href="http://127.0.0.1:8080/ulysses-website/atom.xml"/>
 <!--
-<xsl:template match="/">
-<xsl:apply-templates/>
-</xsl:template>
+  <link rel="self" href="http://127.0.0.1:8080/ulysses-website/atom.xml?yanel.resource.viewid=atom"/>
 -->
-
-<xsl:template match="/atom:feed/atom:link[@rel='self']">
+<!--
   <link rel="self" href="http://www.yulup.org/news-entries-atom.xml"/>
+-->
 </xsl:template>
 
 <xsl:template match="*" priority="-1">




More information about the Phoenix-commits mailing list