Ignore:
Timestamp:
Nov 29, 2005, 6:22:42 AM (16 years ago)
Author:
Earle Martin
Message:

fixes #28

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/OpenGuides/RDF.pm

    r717 r718  
    257257
    258258    # RDF version of a node.
    259     print "Content-Type: text/plain\n\n";
     259    print "Content-Type: application/rdf+xml\n\n";
    260260    print $rdf_writer->emit_rdfxml( node => "Masala Zone, N1 0NU" );
    261261
    262262    # Ten most recent changes.
    263     print "Content-Type: text/plain\n";
     263    print "Content-Type: application/rdf+xml\n";
    264264    print "Last-Modified: " . $self->rss_timestamp( items => 10 ) . "\n\n";
    265265    print $rdf_writer->make_recentchanges_rss( items => 10 );
     
    288288    );
    289289
    290     print "Content-Type: text/plain\n\n";
     290    print "Content-Type: application/rdf+xml\n\n";
    291291    print $rdf_writer->emit_rdfxml( node => "Masala Zone, N1 0NU" );
    292292
     
    324324
    325325    # Ten most recent changes.
    326     print "Content-Type: text/plain\n";
     326    print "Content-Type: application/rdf+xml\n";
    327327    print "Last-Modified: " . $rdf_writer->rss_timestamp( items => 10 ) . "\n\n";
    328328    print $rdf_writer->make_recentchanges_rss( items => 10 );
     
    336336               );
    337337
    338     print "Content-Type: text/plain\n";
     338    print "Content-Type: application/rdf+xml\n";
    339339    print "Last-Modified: " . $rdf_writer->rss_timestamp( %args ) . "\n\n";
    340340    print $rdf_writer->make_recentchanges_rss( %args );
Note: See TracChangeset for help on using the changeset viewer.