RSS/XML Doesn
mgifford - January 30, 2006 - 01:27
| Project: | Creative Commons |
| Version: | HEAD |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | pbull |
| Status: | won't fix |
Description
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:creativeCommonsIt's got to propagate if it's going to be useful.
Mike

#1
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";
#2
I was installing this against 4.6.. CivicSpace's svn actually.
It worked.. Attaching a patch for node.module
Mike
#3
Version 4.x no longer supported.