news rss feed problem on the Boinc homepage
log in

Advanced search

Message boards : Web site : news rss feed problem on the Boinc homepage

Author Message
Profile Carl
Avatar
Send message
Joined: 14 Nov 13
Posts: 16
Credit: 156,408
RAC: 0
Italy
Message 249 - Posted: 4 Jan 2014, 18:51:13 UTC

I have some problem with rss feed link in the homepage of Boinc.
I think there are characters in the news-text giving problems.
Did someone of you change files in the html folder?
Thanks
____________
Frustuk

Profile valterc
Project administrator
Project tester
Send message
Joined: 30 Oct 13
Posts: 623
Credit: 34,677,535
RAC: 206
Italy
Message 259 - Posted: 7 Jan 2014, 10:09:02 UTC - in response to Message 249.

I did a server upgrade abut five days ago and this also modified some of the files inside the html folder.
I also changed some files, namely the ones inside the ~/html_backup folder
What's the problem you have, exactly?

Profile Carl
Avatar
Send message
Joined: 14 Nov 13
Posts: 16
Credit: 156,408
RAC: 0
Italy
Message 262 - Posted: 7 Jan 2014, 11:34:30 UTC - in response to Message 259.

The "rss link" for the news on the homepage of Tn-Boinc dosen't work.
I think the problem is this two character "-" and "&" in the following line of this file:
html/project/project.inc
define("COPYRIGHT_HOLDER", "CNR-TN & UniTN");
____________
Frustuk

Profile Carl
Avatar
Send message
Joined: 14 Nov 13
Posts: 16
Credit: 156,408
RAC: 0
Italy
Message 264 - Posted: 7 Jan 2014, 11:59:10 UTC - in response to Message 262.

Ok I solved.
I modified this line of inc/forum_rss.inc (made a backup forum_rss.inc.old)
from this
<copyright>".COPYRIGHT_HOLDER."</copyright>
to this
<copyright><![CDATA[".COPYRIGHT_HOLDER."]]></copyright>
____________
Frustuk

Profile valterc
Project administrator
Project tester
Send message
Joined: 30 Oct 13
Posts: 623
Credit: 34,677,535
RAC: 206
Italy
Message 265 - Posted: 7 Jan 2014, 12:03:00 UTC - in response to Message 264.

Ok, Well done!

Profile Carl
Avatar
Send message
Joined: 14 Nov 13
Posts: 16
Credit: 156,408
RAC: 0
Italy
Message 361 - Posted: 2 Apr 2014, 13:57:17 UTC

The "&" in "CNR-TN & UniTN" create problems while parsing the "COPYRIGHT_HOLDER"
I modified these files again to solve this problem.
-forum_rss.inc
-uotd_gadget.php
____________
Frustuk

Profile valterc
Project administrator
Project tester
Send message
Joined: 30 Oct 13
Posts: 623
Credit: 34,677,535
RAC: 206
Italy
Message 393 - Posted: 18 Apr 2014, 15:39:33 UTC - in response to Message 361.

I modified the copyright string in a way that we don't need anymore to modify source code after a server upgrade.


Post to thread

Message boards : Web site : news rss feed problem on the Boinc homepage


Main page · Your account · Message boards


Copyright © 2024 CNR-TN & UniTN