Just added the CC module and now the rss won't validate

http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fpoped.org%2Fnode%2Ffeed


line 16, column 1: XML parsing error: unknown:16:1: unbound prefix [help]

xmlns:creativeCommons>http://creativecommons.org/licenses/by-sa/2.0/ca/</xmlns:creativeCommons

It's got to propagate if it's going to be useful.

Mike

CommentFileSizeAuthor
#2 node.module_24.patch777 bytesmgifford
#1 creativecommons-rss.patch418 bytespbull

Comments

pbull’s picture

Assigned: Unassigned » pbull
StatusFileSize
new418 bytes

What version of Drupal are you running? I'm currently working on a 4.7 release, should be ready quite soon, but the CreativeCommons cvs will run on 4.6 with a few minor adjustments.

I need my CVS password changed so I can update the code. But for now, you can patch creativecommons.module with the attached patch to get RSS items up to speed.

For Drupal 4.6.x, you'll need to make a minor change to node.module for the RSS to get a namespace to validate against:

// around line 1150 of node.module
$output .= "<rss version=\"". $channel["version"] . "\" " .
    'xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" ' .
    "xml:base=\"". $base_url ."\">\n";
mgifford’s picture

Status: Active » Needs review
StatusFileSize
new777 bytes

I was installing this against 4.6.. CivicSpace's svn actually.

It worked.. Attaching a patch for node.module

Mike

turadg’s picture

Status: Needs review » Closed (won't fix)

Version 4.x no longer supported.