/[corp_html]/rss.php
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /rss.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by dpavlin, Fri Apr 13 09:49:32 2001 UTC revision 1.2 by dpavlin, Fri May 11 06:18:41 2001 UTC
# Line 45  if ($part && file_exists("templates/rss- Line 45  if ($part && file_exists("templates/rss-
45                  } else {                  } else {
46                          $tmp=$html;                          $tmp=$html;
47                  }                  }
48  #               return utf8_encode(htmlspecialchars($tmp));                  return utf8_encode(htmlspecialchars($tmp));
49                  return htmlspecialchars($tmp);  #               return htmlspecialchars($tmp);
50          }          }
51    
52    
# Line 77  if ($part && file_exists("templates/rss- Line 77  if ($part && file_exists("templates/rss-
77          $rss=$smarty->fetch("rss.tpl");          $rss=$smarty->fetch("rss.tpl");
78  }  }
79    
80  print '<?xml version="1.0" encoding="ISO-8859-1"?>  print '<?xml version="1.0" encoding="UTF-8"?>
81  <!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd">  <!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd">
82  <rss version="0.91">  <rss version="0.91">
83    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.26