Changeset 370
- Timestamp:
- 12/09/06 16:04:51 (6 years ago)
- Location:
- wiki-toolkit/trunk
- Files:
-
- 4 modified
-
lib/Wiki/Toolkit/Feed/Atom.pm (modified) (1 diff)
-
lib/Wiki/Toolkit/Feed/RSS.pm (modified) (1 diff)
-
t/297_feed_rss_recentchanges.t (modified) (1 diff)
-
t/302_feed_atom_recentchanges.t (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wiki-toolkit/trunk/lib/Wiki/Toolkit/Feed/Atom.pm
r369 r370 49 49 # Supply some defaults, if a blank string isn't what we want 50 50 unless($self->{encoding}) { 51 $self->{encoding} = $self->{wiki}-> {store}->{_charset};51 $self->{encoding} = $self->{wiki}->store->{_charset}; 52 52 } 53 53 -
wiki-toolkit/trunk/lib/Wiki/Toolkit/Feed/RSS.pm
r369 r370 50 50 # Supply some defaults, if a blank string isn't what we want 51 51 unless($self->{encoding}) { 52 $self->{encoding} = $self->{wiki}-> {store}->{_charset};52 $self->{encoding} = $self->{wiki}->store->{_charset}; 53 53 } 54 54 -
wiki-toolkit/trunk/t/297_feed_rss_recentchanges.t
r369 r370 65 65 "change importance included and defaults to 'major'" ); 66 66 67 my $charset = $wiki->store->{_charset}; 67 68 like( $feed, qr|<?xml version="1.0"|, "is xml" ); 68 like( $feed, qr|<?xml version="1.0" encoding="$ wiki->{store}->{_charset}"|, "is xml" );69 like( $feed, qr|<?xml version="1.0" encoding="$charset"|, "is xml" ); 69 70 70 71 # Check stuff that comes from the metadata. -
wiki-toolkit/trunk/t/302_feed_atom_recentchanges.t
r369 r370 68 68 "contains categories" ); 69 69 70 my $charset = $wiki->store->{_charset}; 70 71 like( $feed, qr|<?xml version="1.0"|, "is xml" ); 71 like( $feed, qr|<?xml version="1.0" encoding="$ wiki->{store}->{_charset}"|, "is xml" );72 like( $feed, qr|<?xml version="1.0" encoding="$charset"|, "is xml" ); 72 73 73 74 # Test the 'items' parameter.
