[
https://issues.apache.org/jira/browse/JSPWIKI-1226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18038164#comment-18038164
]
ASF subversion and git services commented on JSPWIKI-1226:
----------------------------------------------------------
Commit 8f62e25067fb3bde6fa9c95c5e94bfbebbf8bab2 in jspwiki's branch
refs/heads/master from Alex O'Ree
[ https://gitbox.apache.org/repos/asf?p=jspwiki.git;h=8f62e2506 ]
JSPWIKI-1220 replaces the sandler library with the rome rss/atom support library
JSPWIKI-1223 restores the /atom servlet api's capabilities, restores the
ability to create and store weblog entries with the requisite attribute for the
atom feed to work
JSPWIKI-1225 fixes loading the preloaded data for the portable build
JSPWIKI-1224 rss.jsp now sets the filename for download
JSPWIKI-1226 related, marks FIXME's for all the rss link generation that needs
updating
and updates the change log from today
> rss.jsp produces slightly invalid output
> ----------------------------------------
>
> Key: JSPWIKI-1226
> URL: https://issues.apache.org/jira/browse/JSPWIKI-1226
> Project: JSPWiki
> Issue Type: Bug
> Reporter: Alex O'Ree
> Priority: Minor
>
> with the following input
> {noformat}
> <?xml version="1.0" encoding="UTF-8"?><rss version="2.0">
> <channel>
> <title>Department: Main</title>
> <link>/department</link>
> <description>Oh poor me, my owner has not set a channel description at
> all. Pity me.</description>
> <language>en-us</language>
> <generator>JSPWiki 3.0.0-git-04</generator>
> <item>
> <link>/department/Wiki.jsp?page=Main&version=2</link>
> <title>Main, version 2</title>
> <description>Admin changed this page on Sat Nov 08 12:50:45 EST
> 2025:<br /><hr /><br /><table class="diff" border="0"
> cellspacing="0" cellpadding="0">
> <tr><td class="diff">At line 2 added 2
> lines</td></tr>
> <tr><td class="diffadd"></td></tr>
> <tr><td class="diffadd">test2</td></tr>
> </table></description>
> <pubDate>Sat, 08 Nov 2025 17:50:45 GMT</pubDate>
> </item>
> <item>
> <link>/department/Wiki.jsp?page=Main&version=1</link>
> <title>Main, version 1</title>
> <description>Admin created this page on Sat Nov 08 12:44:51 EST
> 2025:<br /><hr /><br /><p>test
> </p><p>test2
> </p></description>
> <pubDate>Sat, 08 Nov 2025 17:44:51 GMT</pubDate>
> </item>
> </channel>
> </rss>
> {noformat}
> getting the following validation errors
>
> {noformat}
> This feed does not validate.
> line 6, column 21: link must be a full and valid URL: /department [help]
> <link>/department</link>
> ^
> line 11, column 56: link must be a full and valid URL:
> /department/Wiki.jsp?page=Main&version=2 (2 occurrences) [help]
> <link>/department/Wiki.jsp?page=Main&version=2</link>
> ^
> In addition, interoperability with the widest range of feed readers
> could be improved by implementing the following recommendations.
> line 19, column 4: item should contain a guid element (2 occurrences) [help]
> </item>
> ^
> line 28, column 2: Missing atom:link with rel="self" [help] </channel>
> ^
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)