cancel
Showing results for 
Search instead for 
Did you mean: 

Wrong path (localhost:8080) in RSS feeds

oblivian
Champ in-the-making
Champ in-the-making
Hello, (gronfelt!)

I use Apache2 SSL/mod_jk to proxy Alfresco/Tomcat6 on port 443.
But, I have an unconcistency in URL's in RSS feeds.
Document Library and Discussions shows the correct URL in RSS-feeds, https://docs.domain.tld/../../..,
but Wiki shows: http://localhost:8080/share/page/site/sitex/wiki-page?title=Main_Page

Any remedy available?

Thanks,

Oblivian
3 REPLIES 3

gronfelt
Champ in-the-making
Champ in-the-making
I'm not sure I can help out on this one, but maybe point you in the right direction at least.

There's an entry in the JIRA that describes this issue:

https://issues.alfresco.com/jira/browse/ALFCOM-2523

It seems to be affecting certain builds, so you might want to try another build (perhaps the latest nightly build for instance). I have not seen this issue in any recent builds at least.

oblivian
Champ in-the-making
Champ in-the-making
OK, thanks for letting me know. I have installed Alfresco through the partner repository in Ubuntu 9.04. I'll think I live with the RSS problem until a newer version is released for Ubuntu.

Oblivian

gronfelt
Champ in-the-making
Champ in-the-making
Well, I looked into it, and the link is created in the presentation layer, so it might not be that difficult to fix. Check the file:

tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/wiki/toolbar.get.html.ftl


It should have a section that begins with:
<div class="rss-feed">

That section should look like this:
   <div class="rss-feed">
      <div>
         <a id="${args.htmlid}-rssFeed-button" href="${url.context}/proxy/alfresco-feed/slingshot/wiki/pages/${page.url.templateArgs["site"]}?format=rss">${msg("message.rssfeed")}</a>
      </div>
   </div>

The "${url.context}" part if of course what gives you the correct server adress and I guess that's what's broken in your version.