You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by jo...@apache.org on 2006/02/22 15:16:44 UTC

svn commit: r379777 - /lenya/trunk/src/pubs/blog/java/src/org/apache/lenya/cms/authoring/NewBlogEntryCreator.java

Author: josias
Date: Wed Feb 22 06:16:41 2006
New Revision: 379777

URL: http://svn.apache.org/viewcvs?rev=379777&view=rev
Log:
use an empty link attribute as default, it will be replaced in the feed by the actual url of the entry.

Modified:
    lenya/trunk/src/pubs/blog/java/src/org/apache/lenya/cms/authoring/NewBlogEntryCreator.java

Modified: lenya/trunk/src/pubs/blog/java/src/org/apache/lenya/cms/authoring/NewBlogEntryCreator.java
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/pubs/blog/java/src/org/apache/lenya/cms/authoring/NewBlogEntryCreator.java?rev=379777&r1=379776&r2=379777&view=diff
==============================================================================
--- lenya/trunk/src/pubs/blog/java/src/org/apache/lenya/cms/authoring/NewBlogEntryCreator.java (original)
+++ lenya/trunk/src/pubs/blog/java/src/org/apache/lenya/cms/authoring/NewBlogEntryCreator.java Wed Feb 22 06:16:41 2006
@@ -74,7 +74,7 @@
         element = (Element) XPathAPI.selectSingleNode(parent,
                 "/*[local-name() = 'entry']/*[local-name() = 'link']");
         element.setAttribute("rel", "alternate");
-        element.setAttribute("href", "http://bob.blog");
+        element.setAttribute("href", "");
         element.setAttribute("type", "text/xml");
 
         // Replace Summary



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org