[wp-cvs] wordpress wp-atom.php, 1.11, 1.12 wp-commentsrss2.php, 1.17, 1.18 wp-links-opml.php, 1.7, 1.8 wp-locations.php, 1.4, 1.5 wp-rdf.php, 1.18, 1.19 wp-rss.php, 1.18, 1.19 wp-rss2.php, 1.25, 1.26 wp-trackback.php, 1.15, 1.16

Matthew Mullenweg saxmatt at users.sourceforge.net
Mon Aug 30 07:16:42 UTC 2004


Update of /cvsroot/cafelog/wordpress
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3066

Modified Files:
	wp-atom.php wp-commentsrss2.php wp-links-opml.php 
	wp-locations.php wp-rdf.php wp-rss.php wp-rss2.php 
	wp-trackback.php 
Log Message:
Vanquishing the terror of iso-8859-1.

Index: wp-rss2.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-rss2.php,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** wp-rss2.php	27 Jul 2004 13:49:05 -0000	1.25
--- wp-rss2.php	30 Aug 2004 07:16:39 -0000	1.26
***************
*** 7,11 ****
  }
  
! header('Content-type: text/xml', true);
  $more = 1;
  
--- 7,11 ----
  }
  
! header('Content-type: text/xml; charset=' . get_settings('blog_charset'), true);
  $more = 1;
  

Index: wp-links-opml.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-links-opml.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** wp-links-opml.php	24 May 2004 08:22:18 -0000	1.7
--- wp-links-opml.php	30 Aug 2004 07:16:39 -0000	1.8
***************
*** 1,8 ****
  <?php 
- $blog = 1; // Your blog's ID
  $doing_rss = 1;
- header('Content-type: text/xml', true);
- require('wp-blog-header.php');
  
  $link_cat = $_GET['link_cat'];
  if ((empty($link_cat)) || ($link_cat == 'all') || ($link_cat == '0')) {
--- 1,7 ----
  <?php 
  $doing_rss = 1;
  
+ require('wp-blog-header.php');
+ header('Content-type: text/xml; charset=' . get_settings('blog_charset'), true);
  $link_cat = $_GET['link_cat'];
  if ((empty($link_cat)) || ($link_cat == 'all') || ($link_cat == '0')) {

Index: wp-locations.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-locations.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** wp-locations.php	1 Mar 2004 06:13:31 -0000	1.4
--- wp-locations.php	30 Aug 2004 07:16:39 -0000	1.5
***************
*** 1,5 ****
! <?php $blog = 1; // enter your blog's ID
! header('Content-type: text/xml');
  include('wp-blog-header.php');
  ?><?php echo "<?xml version=\"1.0\"?".">\n"; ?>
  <travels>
--- 1,5 ----
! <?php
  include('wp-blog-header.php');
+ header('Content-type: text/xml; charset=' . get_settings('blog_charset'));
  ?><?php echo "<?xml version=\"1.0\"?".">\n"; ?>
  <travels>

Index: wp-rss.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-rss.php,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** wp-rss.php	24 May 2004 18:24:12 -0000	1.18
--- wp-rss.php	30 Aug 2004 07:16:39 -0000	1.19
***************
*** 7,11 ****
  }
  
! header('Content-type: text/xml', true);
  $more = 1;
  
--- 7,11 ----
  }
  
! header('Content-type: text/xml; charset=' . get_settings('blog_charset'), true);
  $more = 1;
  

Index: wp-commentsrss2.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-commentsrss2.php,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** wp-commentsrss2.php	24 May 2004 08:22:18 -0000	1.17
--- wp-commentsrss2.php	30 Aug 2004 07:16:39 -0000	1.18
***************
*** 4,8 ****
  }
  
! header('Content-type: text/xml', true);
  
  echo '<?xml version="1.0" encoding="'.get_settings('blog_charset').'"?'.'>'; 
--- 4,8 ----
  }
  
! header('Content-type: text/xml;charset=' . get_settings('blog_charset'), true);
  
  echo '<?xml version="1.0" encoding="'.get_settings('blog_charset').'"?'.'>'; 

Index: wp-atom.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-atom.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** wp-atom.php	24 May 2004 18:24:12 -0000	1.11
--- wp-atom.php	30 Aug 2004 07:16:39 -0000	1.12
***************
*** 7,11 ****
  }
  
! header('Content-type: application/atom+xml', true);
  $more = 1;
  
--- 7,11 ----
  }
  
! header('Content-type: application/atom+xml; charset=' . get_settings('blog_charset'), true);
  $more = 1;
  

Index: wp-trackback.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-trackback.php,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** wp-trackback.php	28 Jul 2004 02:43:54 -0000	1.15
--- wp-trackback.php	30 Aug 2004 07:16:39 -0000	1.16
***************
*** 27,31 ****
  if ((strlen(''.$tb_id)) && (empty($_GET['__mode'])) && (strlen(''.$tb_url))) {
  
! 	@header('Content-Type: text/xml');
  
  	if (!get_settings('use_trackback'))
--- 27,31 ----
  if ((strlen(''.$tb_id)) && (empty($_GET['__mode'])) && (strlen(''.$tb_url))) {
  
! 	@header('Content-Type: text/xml; charset=' . get_settings('blog_charset'));
  
  	if (!get_settings('use_trackback'))

Index: wp-rdf.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-rdf.php,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** wp-rdf.php	24 May 2004 18:24:12 -0000	1.18
--- wp-rdf.php	30 Aug 2004 07:16:39 -0000	1.19
***************
*** 7,11 ****
  }
  
! header('Content-type: application/rdf+xml', true);
  $more = 1;
  
--- 7,11 ----
  }
  
! header('Content-type: application/rdf+xml; charset=' . get_settings('blog_charset'), true);
  $more = 1;
  




More information about the cvs mailing list