roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r735804 - in /roller/trunk/apps/weblogger/web/WEB-INF/velocity/templates/feeds: site-search-atom.vm weblog-search-atom.vm
Date Mon, 19 Jan 2009 20:47:24 GMT
Author: snoopdave
Date: Mon Jan 19 12:47:23 2009
New Revision: 735804

URL: http://svn.apache.org/viewvc?rev=735804&view=rev
Log:
Titles for a search feed should explain that and include the search terms

Modified:
    roller/trunk/apps/weblogger/web/WEB-INF/velocity/templates/feeds/site-search-atom.vm
    roller/trunk/apps/weblogger/web/WEB-INF/velocity/templates/feeds/weblog-search-atom.vm

Modified: roller/trunk/apps/weblogger/web/WEB-INF/velocity/templates/feeds/site-search-atom.vm
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/web/WEB-INF/velocity/templates/feeds/site-search-atom.vm?rev=735804&r1=735803&r2=735804&view=diff
==============================================================================
--- roller/trunk/apps/weblogger/web/WEB-INF/velocity/templates/feeds/site-search-atom.vm (original)
+++ roller/trunk/apps/weblogger/web/WEB-INF/velocity/templates/feeds/site-search-atom.vm Mon
Jan 19 12:47:23 2009
@@ -22,8 +22,8 @@
       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>
+    <title type="html">Search for [$model.term] in site $utils.escapeXML($config.siteName)</title>
+    <subtitle type="html">Search results for [$model.term] within site $utils.escapeXML($config.siteName)</subtitle>
     <id>$utils.escapeXML($url.feed.entries.search($model.term, $model.categoryPath))</id>
 
     <link rel="self" type="application/atom+xml" 

Modified: roller/trunk/apps/weblogger/web/WEB-INF/velocity/templates/feeds/weblog-search-atom.vm
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/web/WEB-INF/velocity/templates/feeds/weblog-search-atom.vm?rev=735804&r1=735803&r2=735804&view=diff
==============================================================================
--- roller/trunk/apps/weblogger/web/WEB-INF/velocity/templates/feeds/weblog-search-atom.vm
(original)
+++ roller/trunk/apps/weblogger/web/WEB-INF/velocity/templates/feeds/weblog-search-atom.vm
Mon Jan 19 12:47:23 2009
@@ -22,8 +22,8 @@
       xmlns:app="http://www.w3.org/2007/app"
       xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/">
 
-    <title type="html">$utils.escapeXML($model.weblog.name)</title>
-    <subtitle type="html">$utils.escapeXML($model.weblog.description)</subtitle>
+    <title type="html">Search for [$model.term] in weblog $model.weblog.handle</title>
+    <subtitle type="html">Search results for [$model.term] within weblog $utils.escapeXML($model.weblog.name)</subtitle>
     <id>$utils.escapeXML($url.feed.entries.search($model.term, $model.categoryPath))</id>
 
     <link rel="self" type="application/atom+xml" 



Mime
View raw message