Tags:
create new tag
, view all tags

Bug: WebRssBaseDcFieldsWrong

it seems that the dc: fields in the distributed WebRssBase topic are hard-coded to those for the twiki.org site. This means that any installed site has an RSS feed that says it is published by Peter - i don't think we want that smile

I suspect that all these fields should be templated from TWikiPreferences

Test case

<image rdf:resource="%PUBURL%/%TWIKIWEB%/TWikiLogos/twikilogo88x31.gif" />
  <dc:language>en-us</dc:language>
  <dc:rights>Copyright %GMTIME{"$year"}%, Peter Thoeny and contributing authors.</dc:rights>
  <dc:publisher>Peter Thoeny [Peter@Thoeny.com]</dc:publisher>
  <dc:creator>Peter Thoeny [Peter@Thoeny.com]</dc:creator>
  <dc:source>TWiki</dc:source>

Environment

TWiki version: TWikiRelease01Feb2003
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  

-- SvenDowideit - 16 Jan 2004

Follow up

I changed mine to:

<image rdf:resource="%WIKILOGOIMG%" />
  <dc:language>en-au</dc:language>
  <dc:rights>%WEBCOPYRIGHT%.</dc:rights>
  <dc:publisher>%WIKIWEBMASTERNAME% [%WIKIWEBMASTER%]</dc:publisher>
  <dc:creator>%WIKIWEBMASTERNAME% [%WIKIWEBMASTER%]</dc:creator>
  <dc:source>%WIKITOOLNAME%</dc:source>

but i had to symplify my WEBCOPYRIGHT setting to have no funny bits

I also needed to change the image url

<image rdf:about="%WIKILOGOIMG%">
  <title>%WIKILOGOALT%.%INCLUDINGWEB%</title>
  <link>%SCRIPTURL%/view%SCRIPTSUFFIX%/%INCLUDINGWEB%</link>
  <url>%WIKILOGOIMG%</url>
</image>

Fix record

changed to use the above variables, and added WEBRSSCOPYRIGHT to the TWikiPrefernces topic

tested with Liferea

-- SvenDowideit - 26 Jan 2004

Topic revision: r4 - 2004-01-26 - SvenDowideit
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.