<rdf:RDF
    xmlns:s='http://snipsnap.org/rdf/snip-schema#'
    xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'
    xml:base='http://community.moertel.com/ss/rdf'>
    <s:Snip rdf:about='http://community.moertel.com/ss/rdf#start/2004-03-30/1'
         s:name='start/2004-03-30/1'
         s:cUser='tmoertel'
         s:oUser='tmoertel'
         s:mUser='tmoertel'>
        <s:content>1 Quick fixes for RSS-feed problems in SnipSnap 0.5.1a {anchor:Quick fixes for RSS-feed problems in SnipSnap 0.5.1a}&#xA;Upgrading to SnipSnap 0.5.1a has gone smoothly with a few exceptions.  One such exception is RSS feeds.&#xA;&#xA;As they are, SS 0.5.1a&apos;s RSS feeds are broken in (at least) two ways.  First, the HTML that SnipSnap generates advertises the associated RSS feed as being at __~~base~~/ss/exec/rss__, but visiting that URL causes a 500 Internal Error because there is no __snip=~~snip~~__ in the associated QUERY_STRING.  Second, the RSS that is generated contains relative URLs, but they are broken w.r.t. the __link__ elements in the RSS __item__ elements, which many news aggregators use as the HTML BASE when displaying encoded feed items.  As a result, images don&apos;t load, and links don&apos;t work.&#xA;&#xA;The fix, as usual, is to add a few Apache RewriteRules:&#xA;&#xA;{code:none}&#xA;\# The following workarounds are for SnipSnap 0.5.1a&apos;s broken RSS feeds&#xA;&#xA;RewriteCond   %{QUERY_STRING} !snip=&#xA;RewriteRule   ^/ss/exec/rss$  /ss/exec/rss?snip=start [L,R]&#xA;&#xA;RewriteRule   ^/ss/space/theme/(.*) /ss/theme/$1 [L,R]&#xA;RewriteRule   ^/ss/space/space/(.*) /ss/space/$1 [L,R]&#xA;{code}&#xA;&#xA;</s:content>
        <s:mTime>2004-03-30 14:49:42.272</s:mTime>
        <s:cTime>2004-03-30 14:49:42.272</s:cTime>
        <s:comments
             rdf:type='http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag'/>
        <s:snipLinks>
            <rdf:Bag>
                <rdf:li rdf:resource='#tmoertel'/>
                <rdf:li rdf:resource='#snipsnap-index'/>
                <rdf:li rdf:resource='#snipsnap-search'/>
                <rdf:li rdf:resource='http://community.moertel.com/ss/rdf#space/start/2004-03-30/1'/>
                <rdf:li rdf:resource='http://community.moertel.com/ss/rdf#Programming Fun Challenge'/>
            </rdf:Bag>
        </s:snipLinks>
        <s:attachments
             rdf:type='http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag'/>
    </s:Snip>
</rdf:RDF>
