mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fixed the links to wiki pages in the RSS feed.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10475 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
<import resource="classpath:/alfresco/templates/webscripts/org/alfresco/slingshot/wiki/lib/wiki.lib.js">
|
<import resource="classpath:/alfresco/templates/webscripts/org/alfresco/slingshot/wiki/lib/wiki.lib.js">
|
||||||
|
|
||||||
var siteId = url.templateArgs.siteId;
|
var siteId = url.templateArgs.siteId;
|
||||||
|
model.siteId = siteId;
|
||||||
|
|
||||||
var filter = args.filter;
|
var filter = args.filter;
|
||||||
|
|
||||||
model.pageList = getWikiPages(siteId, filter);
|
model.pageList = getWikiPages(siteId, filter);
|
||||||
|
@@ -2,7 +2,6 @@
|
|||||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
||||||
<channel rdf:about="http://www.alfresco.com/">
|
<channel rdf:about="http://www.alfresco.com/">
|
||||||
<title>Alfresco - Wiki Page</title>
|
<title>Alfresco - Wiki Page</title>
|
||||||
<link>${absurl(url.context)}/</link>
|
|
||||||
<description>Alfresco Wiki Page - Recent Changes</description>
|
<description>Alfresco Wiki Page - Recent Changes</description>
|
||||||
<lastBuildDate>${xmldate(date)}</lastBuildDate>
|
<lastBuildDate>${xmldate(date)}</lastBuildDate>
|
||||||
<pubDate>${xmldate(date)}</pubDate>
|
<pubDate>${xmldate(date)}</pubDate>
|
||||||
@@ -15,8 +14,7 @@
|
|||||||
<#assign page = p.page>
|
<#assign page = p.page>
|
||||||
<item>
|
<item>
|
||||||
<title>${page.properties.title!""?html}</title>
|
<title>${page.properties.title!""?html}</title>
|
||||||
<#assign navurl='/navigate/showDocDetails/' + page.nodeRef.storeRef.protocol + '/' + page.nodeRef.storeRef.identifier + '/' + page.nodeRef.id>
|
<link>${absurl(url.context)?replace("alfresco", "share/page/site/${siteId}/wiki-page?title=${page.name}")}</link>
|
||||||
<link>${absurl(url.context)?replace("alfresco", "share/proxy/alfresco")}/api/node/content/${page.storeType}/${page.storeId}/${page.id}/${page.name?url}</link>
|
|
||||||
<pubDate>${xmldate(page.properties.modified)}</pubDate>
|
<pubDate>${xmldate(page.properties.modified)}</pubDate>
|
||||||
<guid isPermaLink="false">${page.id}</guid>
|
<guid isPermaLink="false">${page.id}</guid>
|
||||||
</item>
|
</item>
|
||||||
|
Reference in New Issue
Block a user