Issue - JComments & Phoca Gallery/ Cooliris - RSS Feed
Posted: 02 Dec 2009, 23:51
Hi
I've gone thru' the forum and I don't believe this is here.
I've used Phoca Gallary 2.5.8 and I'm trialling 2.6.0 Beta. JComments - version 2.1.0.0.
If I use the built-in Phoca comment tool or use JComments without RSS then when I click the PickLens icon in the Gallery - I get Cooliris 3D-wall. When I enable RSS then I get the message "this feed has no items".
What I've also noticed is:
When it works the URL is: http://www.cooliris.com/tab/#cs=11&url= ... ry%2F7.rss
when RSS is enabled then the URL is: http://www.cooliris.com/tab/#cs=11&url= ... Dcomponent
I'm no expert when it comes to HTML or PHP etc but when debugging in IE8, I've noticed that when RSS is enabled - the following line is added on the web page:
<link href="http://www.oldravianassociation.com/joo ... =component" rel="alternate" type="application/rss+xml" title="Category 1950's" />
I think this interferes with your line:
</script>
<link id="phocagallerypiclens" rel="alternate" href="/joomla/images/phocagallery/7.rss" type="application/rss+xml" title="" /><script type="text/javascript" src="http://lite.piclens.com/current/piclens ... ipt><style type="text/css">
.mbf-item { display: none; }
#phocagallery .mbf-item { display: none; }
</style>
<script type="text/javascript">
which I tracked down in file renderfront.php.
When piclens.js is run (line 877 to 885):
// find the RSS feeds on this page, and return an array
indexFeeds : function () {
var linkTags = document.getElementsByTagName("link");
var feeds = [];
for (var i = 0; i != linkTags.length; ++i) {
var link = linkTags, type = link.getAttribute("type");
if (type == "application/rss+xml" || type == "text/xml") {
feeds.push({ title: link.getAttribute("title"), url: link.getAttribute("href") });
}
}
return feeds;
},
I guess things get a bit confused.
Can you recommend any changes I can make to the code to keep RSS enabled and have this not occuring?
Regards
Harris
I've gone thru' the forum and I don't believe this is here.
I've used Phoca Gallary 2.5.8 and I'm trialling 2.6.0 Beta. JComments - version 2.1.0.0.
If I use the built-in Phoca comment tool or use JComments without RSS then when I click the PickLens icon in the Gallery - I get Cooliris 3D-wall. When I enable RSS then I get the message "this feed has no items".
What I've also noticed is:
When it works the URL is: http://www.cooliris.com/tab/#cs=11&url= ... ry%2F7.rss
when RSS is enabled then the URL is: http://www.cooliris.com/tab/#cs=11&url= ... Dcomponent
I'm no expert when it comes to HTML or PHP etc but when debugging in IE8, I've noticed that when RSS is enabled - the following line is added on the web page:
<link href="http://www.oldravianassociation.com/joo ... =component" rel="alternate" type="application/rss+xml" title="Category 1950's" />
I think this interferes with your line:
</script>
<link id="phocagallerypiclens" rel="alternate" href="/joomla/images/phocagallery/7.rss" type="application/rss+xml" title="" /><script type="text/javascript" src="http://lite.piclens.com/current/piclens ... ipt><style type="text/css">
.mbf-item { display: none; }
#phocagallery .mbf-item { display: none; }
</style>
<script type="text/javascript">
which I tracked down in file renderfront.php.
When piclens.js is run (line 877 to 885):
// find the RSS feeds on this page, and return an array
indexFeeds : function () {
var linkTags = document.getElementsByTagName("link");
var feeds = [];
for (var i = 0; i != linkTags.length; ++i) {
var link = linkTags, type = link.getAttribute("type");
if (type == "application/rss+xml" || type == "text/xml") {
feeds.push({ title: link.getAttribute("title"), url: link.getAttribute("href") });
}
}
return feeds;
},
I guess things get a bit confused.
Can you recommend any changes I can make to the code to keep RSS enabled and have this not occuring?
Regards
Harris