Permalink
Browse files

Remove Windows line endings

  • Loading branch information...
1 parent 2ba5e90 commit c1ccdb73f7bfefd3ba2c64983d840f4409daac01 @aasmith committed Jun 11, 2008
Showing with 3,260 additions and 3,260 deletions.
  1. +48 −48 History.txt
  2. +27 −27 License.txt
  3. +19 −19 Manifest.txt
  4. +63 −63 README.txt
  5. +20 −20 RELEASE
  6. +25 −25 Rakefile
  7. +149 −149 lib/feed-normalizer.rb
  8. +190 −190 lib/html-cleaner.rb
  9. +137 −137 lib/parsers/simple-rss.rb
  10. +244 −244 lib/structures.rb
  11. +127 −127 test/data/atom03.xml
  12. +112 −112 test/data/atom10.xml
  13. +1,498 −1,498 test/data/rdf10.xml
  14. +63 −63 test/data/rss20.xml
  15. +59 −59 test/data/rss20diff.xml
  16. +51 −51 test/data/rss20diff_short.xml
  17. +6 −6 test/test_all.rb
  18. +267 −267 test/test_feednormalizer.rb
  19. +155 −155 test/test_htmlcleaner.rb
View
@@ -2,51 +2,51 @@
* Fix a bug that was breaking the parsing process for certain feeds. [reported by: Patrick Minton]
-1.5.0
-
- * Add support for new fields:
- * Atom 0.3: issued is now available through entry.date_published.
- * RSS: feed.skip_hours, feed.skip_days, feed.ttl [joshpeek]
- * All: entry.last_updated, this is an alias to entry.date_published for RSS.
- * Rewrite relative links in content [joshpeek]
- * Handle CDATA sections consistently across all formats. [sam.lown]
- * Prevent SimpleRSS from doing its own escaping. [reported by: paul.stadig, lionel.bouton]
- * Reparse Time classes [reported by: sam.lown]
-
-1.4.0
-
- * Support content:encoded. Accessible via Entry#content.
- * Support categories. Accessible via Entry#categories.
- * Introduces a new parsing feature 'loose parsing'. Use :loose => true
- when parsing if the required output should retain extra data, rather
- than drop it in the interests of 'lowest common denomiator' normalization.
- Currently affects how categories works. See the documentation in
- FeedNormalizer#parse for more details.
-
-1.3.2
-
- * Add support for applicable dublin core elements. (dc:date and dc:creator)
- * Feeds can now be dumped to YAML.
-
-1.3.1
-
- * Small changes to work with hpricot 0.6. This release depends on hpricot 0.6.
- * Reduced the greediness of a regexp that was removing html comments.
-
-1.3.0
-
- * Small changes to work with hpricot 0.5.
-
-1.2.0
-
- * Added HtmlCleaner - sanitizes HTML and removes 'bad' URIs to a level suitable
- for 'safe' display inside a web browser. Can be used as a standalone library,
- or as part of the Feed object. See Feed.clean! for details about cleaning a
- Feed instance. Also see HtmlCleaner and its unit tests. Uses Hpricot.
- * Added Feed-diffing. Differences between two feeds can be displayed using
- Feed.diff. Works nicely with YAML for a readable diff.
- * FeedNormalizer.parse now takes a hash for its arguments.
- * Removed FN::Content.
- * Now uses Hoe!
-
-
+1.5.0
+
+ * Add support for new fields:
+ * Atom 0.3: issued is now available through entry.date_published.
+ * RSS: feed.skip_hours, feed.skip_days, feed.ttl [joshpeek]
+ * All: entry.last_updated, this is an alias to entry.date_published for RSS.
+ * Rewrite relative links in content [joshpeek]
+ * Handle CDATA sections consistently across all formats. [sam.lown]
+ * Prevent SimpleRSS from doing its own escaping. [reported by: paul.stadig, lionel.bouton]
+ * Reparse Time classes [reported by: sam.lown]
+
+1.4.0
+
+ * Support content:encoded. Accessible via Entry#content.
+ * Support categories. Accessible via Entry#categories.
+ * Introduces a new parsing feature 'loose parsing'. Use :loose => true
+ when parsing if the required output should retain extra data, rather
+ than drop it in the interests of 'lowest common denomiator' normalization.
+ Currently affects how categories works. See the documentation in
+ FeedNormalizer#parse for more details.
+
+1.3.2
+
+ * Add support for applicable dublin core elements. (dc:date and dc:creator)
+ * Feeds can now be dumped to YAML.
+
+1.3.1
+
+ * Small changes to work with hpricot 0.6. This release depends on hpricot 0.6.
+ * Reduced the greediness of a regexp that was removing html comments.
+
+1.3.0
+
+ * Small changes to work with hpricot 0.5.
+
+1.2.0
+
+ * Added HtmlCleaner - sanitizes HTML and removes 'bad' URIs to a level suitable
+ for 'safe' display inside a web browser. Can be used as a standalone library,
+ or as part of the Feed object. See Feed.clean! for details about cleaning a
+ Feed instance. Also see HtmlCleaner and its unit tests. Uses Hpricot.
+ * Added Feed-diffing. Differences between two feeds can be displayed using
+ Feed.diff. Works nicely with YAML for a readable diff.
+ * FeedNormalizer.parse now takes a hash for its arguments.
+ * Removed FN::Content.
+ * Now uses Hoe!
+
+
View
@@ -1,27 +1,27 @@
-Copyright (c) 2006-2007, Andrew A. Smith
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
-
- * Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-
- * Neither the name of the copyright owner nor the names of its contributors
- may be used to endorse or promote products derived from this software
- without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
-ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
-ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+Copyright (c) 2006-2007, Andrew A. Smith
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+ * Neither the name of the copyright owner nor the names of its contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
View
@@ -1,19 +1,19 @@
-History.txt
-License.txt
-Manifest.txt
-Rakefile
-README.txt
-lib/feed-normalizer.rb
-lib/html-cleaner.rb
-lib/parsers/rss.rb
-lib/parsers/simple-rss.rb
-lib/structures.rb
-test/data/atom03.xml
-test/data/atom10.xml
-test/data/rdf10.xml
-test/data/rss20.xml
-test/data/rss20diff.xml
-test/data/rss20diff_short.xml
-test/test_all.rb
-test/test_feednormalizer.rb
-test/test_htmlcleaner.rb
+History.txt
+License.txt
+Manifest.txt
+Rakefile
+README.txt
+lib/feed-normalizer.rb
+lib/html-cleaner.rb
+lib/parsers/rss.rb
+lib/parsers/simple-rss.rb
+lib/structures.rb
+test/data/atom03.xml
+test/data/atom10.xml
+test/data/rdf10.xml
+test/data/rss20.xml
+test/data/rss20diff.xml
+test/data/rss20diff_short.xml
+test/test_all.rb
+test/test_feednormalizer.rb
+test/test_htmlcleaner.rb
View
@@ -1,63 +1,63 @@
-== Feed Normalizer
-
-An extensible Ruby wrapper for Atom and RSS parsers.
-
-Feed normalizer wraps various RSS and Atom parsers, and returns a single unified
-object graph, regardless of the underlying feed format.
-
-== Download
-
-* gem install feed-normalizer
-* http://rubyforge.org/projects/feed-normalizer
-* svn co http://feed-normalizer.googlecode.com/svn/trunk
-
-== Usage
-
- require 'feed-normalizer'
- require 'open-uri'
-
- feed = FeedNormalizer::FeedNormalizer.parse open('http://www.iht.com/rss/frontpage.xml')
-
- feed.title # => "International Herald Tribune"
- feed.url # => "http://www.iht.com/pages/index.php"
- feed.entries.first.url # => "http://www.iht.com/articles/2006/10/03/frontpage/web.1003UN.php"
-
- feed.class # => FeedNormalizer::Feed
- feed.parser # => "RSS::Parser"
-
-Now read an Atom feed, and the same class is returned, and the same terminology applies:
-
- feed = FeedNormalizer::FeedNormalizer.parse open('http://www.atomenabled.org/atom.xml')
-
- feed.title # => "AtomEnabled.org"
- feed.url # => "http://www.atomenabled.org/atom.xml"
- feed.entries.first.url # => "http://www.atomenabled.org/2006/09/moving-toward-atom.php"
-
-The feed representation stays the same, even though a different parser was used.
-
- feed.class # => FeedNormalizer::Feed
- feed.parser # => "SimpleRSS"
-
-== Cleaning / Sanitizing
-
- feed.title # => "My Feed > Your Feed"
- feed.entries.first.content # => "<p x='y'>Hello</p><object></object></html>"
- feed.clean!
-
-All elements should now be either clean HTML, or HTML escaped strings.
-
- feed.title # => "My Feed &gt; Your Feed"
- feed.entries.first.content # => "<p>Hello</p>"
-
-== Extending
-
-Implement a parser wrapper by extending the FeedNormalizer::Parser class and overriding
-the public methods. Also note the helper methods in the root Parser object to make
-mapping of output from the particular parser to the Feed object easier.
-
-See FeedNormalizer::RubyRssParser and FeedNormalizer::SimpleRssParser for examples.
-
-== Authors
-* Andrew A. Smith (andy@tinnedfruit.org)
-
-This library is released under the terms of the BSD License (see the License.txt file for details).
+== Feed Normalizer
+
+An extensible Ruby wrapper for Atom and RSS parsers.
+
+Feed normalizer wraps various RSS and Atom parsers, and returns a single unified
+object graph, regardless of the underlying feed format.
+
+== Download
+
+* gem install feed-normalizer
+* http://rubyforge.org/projects/feed-normalizer
+* svn co http://feed-normalizer.googlecode.com/svn/trunk
+
+== Usage
+
+ require 'feed-normalizer'
+ require 'open-uri'
+
+ feed = FeedNormalizer::FeedNormalizer.parse open('http://www.iht.com/rss/frontpage.xml')
+
+ feed.title # => "International Herald Tribune"
+ feed.url # => "http://www.iht.com/pages/index.php"
+ feed.entries.first.url # => "http://www.iht.com/articles/2006/10/03/frontpage/web.1003UN.php"
+
+ feed.class # => FeedNormalizer::Feed
+ feed.parser # => "RSS::Parser"
+
+Now read an Atom feed, and the same class is returned, and the same terminology applies:
+
+ feed = FeedNormalizer::FeedNormalizer.parse open('http://www.atomenabled.org/atom.xml')
+
+ feed.title # => "AtomEnabled.org"
+ feed.url # => "http://www.atomenabled.org/atom.xml"
+ feed.entries.first.url # => "http://www.atomenabled.org/2006/09/moving-toward-atom.php"
+
+The feed representation stays the same, even though a different parser was used.
+
+ feed.class # => FeedNormalizer::Feed
+ feed.parser # => "SimpleRSS"
+
+== Cleaning / Sanitizing
+
+ feed.title # => "My Feed > Your Feed"
+ feed.entries.first.content # => "<p x='y'>Hello</p><object></object></html>"
+ feed.clean!
+
+All elements should now be either clean HTML, or HTML escaped strings.
+
+ feed.title # => "My Feed &gt; Your Feed"
+ feed.entries.first.content # => "<p>Hello</p>"
+
+== Extending
+
+Implement a parser wrapper by extending the FeedNormalizer::Parser class and overriding
+the public methods. Also note the helper methods in the root Parser object to make
+mapping of output from the particular parser to the Feed object easier.
+
+See FeedNormalizer::RubyRssParser and FeedNormalizer::SimpleRssParser for examples.
+
+== Authors
+* Andrew A. Smith (andy@tinnedfruit.org)
+
+This library is released under the terms of the BSD License (see the License.txt file for details).
View
40 RELEASE
@@ -1,20 +1,20 @@
-Steps to create a release:
-
- o Update Rakefile version
-
- o Create package
- rake clobber
- rake package
-
- o Tag release
- svn copy https://feed-normalizer.googlecode.com/svn/trunk \
- https://feed-normalizer.googlecode.com/svn/tags/RELEASE_[MAJOR]_[MINOR]_[REVISION]
-
- o Upload gem and zip to rubyforge
- rake release VERSION=x.y.z
- rake post_news
- rake email - use this for posting email ANNs-
- it adds the download URL amongst other things.
-
- o Update RAA
-
+Steps to create a release:
+
+ o Update Rakefile version
+
+ o Create package
+ rake clobber
+ rake package
+
+ o Tag release
+ svn copy https://feed-normalizer.googlecode.com/svn/trunk \
+ https://feed-normalizer.googlecode.com/svn/tags/RELEASE_[MAJOR]_[MINOR]_[REVISION]
+
+ o Upload gem and zip to rubyforge
+ rake release VERSION=x.y.z
+ rake post_news
+ rake email - use this for posting email ANNs-
+ it adds the download URL amongst other things.
+
+ o Update RAA
+
Oops, something went wrong.

0 comments on commit c1ccdb7

Please sign in to comment.