File: ARC2_RSS10Serializer.php

package info (click to toggle)
php-arc 2~20101006-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 720 kB
  • sloc: php: 12,692; makefile: 31
file content (30 lines) | stat: -rw-r--r-- 589 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
/**
 * ARC2 RSS 1.0 Serializer
 *
 * @author Toby Inkster
 * @author Benjamin Nowack
 * @license <http://arc.semsol.org/license>
 * @homepage <http://arc.semsol.org/>
 * @package ARC2
 * @version 2010-11-16
*/

ARC2::inc('RDFXMLSerializer');

class ARC2_RSS10Serializer extends ARC2_RDFXMLSerializer {

  function __construct($a, &$caller) {
    parent::__construct($a, $caller);
  }
  
  function __init() {
    parent::__init();
    $this->content_header = 'application/rss+xml';
    $this->default_ns = 'http://purl.org/rss/1.0/';
    $this->type_nodes = true;
  }

  /*  */
  
}