roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r596740 - in /roller/branches/roller_4.1_dev/apps/weblogger/web/WEB-INF/velocity/templates/feeds: site-search-atom.vm weblog-search-atom.vm
Date Tue, 20 Nov 2007 17:04:04 GMT
Author: snoopdave
Date: Tue Nov 20 09:04:03 2007
New Revision: 596740

URL: http://svn.apache.org/viewvc?rev=596740&view=rev
Log:
Bug fixes: incorrect URLs and missing namespace declarations

Modified:
    roller/branches/roller_4.1_dev/apps/weblogger/web/WEB-INF/velocity/templates/feeds/site-search-atom.vm
    roller/branches/roller_4.1_dev/apps/weblogger/web/WEB-INF/velocity/templates/feeds/weblog-search-atom.vm

Modified: roller/branches/roller_4.1_dev/apps/weblogger/web/WEB-INF/velocity/templates/feeds/site-search-atom.vm
URL: http://svn.apache.org/viewvc/roller/branches/roller_4.1_dev/apps/weblogger/web/WEB-INF/velocity/templates/feeds/site-search-atom.vm?rev=596740&r1=596739&r2=596740&view=diff
==============================================================================
--- roller/branches/roller_4.1_dev/apps/weblogger/web/WEB-INF/velocity/templates/feeds/site-search-atom.vm
(original)
+++ roller/branches/roller_4.1_dev/apps/weblogger/web/WEB-INF/velocity/templates/feeds/site-search-atom.vm
Tue Nov 20 09:04:03 2007
@@ -18,7 +18,9 @@
 *#<?xml version="1.0" encoding='utf-8'?>
 #if($config.feedStyle)<?xml-stylesheet type="text/xsl" href="$url.absoluteSite/roller-ui/styles/atom.xsl"
media="screen"?>#end
 #set($pager = $model.searchResultsPager)
-<feed xmlns="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app">
+<feed xmlns="http://www.w3.org/2005/Atom" 
+      xmlns:app="http://www.w3.org/2007/app"
+      xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/"
 
     <title type="html">$utils.escapeXML($config.siteName)</title>
     <subtitle type="html">$utils.escapeXML($config.siteDescription)</subtitle>
@@ -31,7 +33,7 @@
         href="$utils.escapeXML($url.absoluteSearch($model.term, $model.categoryPath, $model.page))"
/>
     
     <link rel="search" type="application/opensearchdescription+xml" 
-        href="$utils.escapeXML($url.openSearchSite())" />
+        href="$utils.escapeXML($url.openSearchSite)" />
     <opensearch:Query role="request" searchTerms="$model.term" startPage="1" />
 
     #showFeedHistory($pager)

Modified: roller/branches/roller_4.1_dev/apps/weblogger/web/WEB-INF/velocity/templates/feeds/weblog-search-atom.vm
URL: http://svn.apache.org/viewvc/roller/branches/roller_4.1_dev/apps/weblogger/web/WEB-INF/velocity/templates/feeds/weblog-search-atom.vm?rev=596740&r1=596739&r2=596740&view=diff
==============================================================================
--- roller/branches/roller_4.1_dev/apps/weblogger/web/WEB-INF/velocity/templates/feeds/weblog-search-atom.vm
(original)
+++ roller/branches/roller_4.1_dev/apps/weblogger/web/WEB-INF/velocity/templates/feeds/weblog-search-atom.vm
Tue Nov 20 09:04:03 2007
@@ -33,7 +33,7 @@
         href="$utils.escapeXML($url.absoluteSearch($model.term, $model.categoryPath, $model.page))"
/>
 
     <link rel="search" type="application/opensearchdescription+xml" 
-        href="$utils.escapeXML($url.openSearchWeblog())" />
+        href="$utils.escapeXML($url.openSearchWeblog)" />
     <opensearch:Query role="request" searchTerms="$model.term" startPage="1" />
 
     #showFeedHistory($pager)



Mime
View raw message