atomutil 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,8 @@
1
+
2
+ == 0.0.2 2007-12-05
3
+
4
+ * documentation improvement:
5
+
1
6
  == 0.0.1 2007-12-05
2
7
 
3
8
  * 1 major enhancement:
data/README.txt CHANGED
@@ -1,5 +1,12 @@
1
1
  = Utilities for AtomPub / Atom Syndication Format
2
2
 
3
+ This library allows you to handle AtomPub and Atom Syndication Format easily.
4
+ Most of the idea is from great Perl modules on CPAN.
5
+
6
+ = INSTALLATION
7
+
8
+ sudo gem install atomutil
9
+
3
10
  = SYNOPSIS
4
11
 
5
12
  == Building or parsing XML with Atom Syndication Format
@@ -581,20 +588,20 @@ and in future, Atom::Auth::OAuth, Atom::Auth::OpenID, and etc.
581
588
  client.delete_entry( entries[2].edit_link )
582
589
 
583
590
  new_entry = Atom::Entry.new
584
- new_entry.title = 'New!'
591
+ new_entry.title = 'New!'
585
592
  new_entry.summary = 'New Entry for Example'
586
593
  new_entry.published = Time.now
587
594
 
588
595
  edit_uri = client.create_entry( collection.href, new_entry )
589
596
 
590
597
  # you also can use 'slug'
591
- slug = 'new-entry'
598
+ slug = 'new entry'
592
599
  edit_uri = client.create_entry( collection.href, new_entry, slug )
593
600
 
594
601
  media_collection = service.workspaces.first.collections[1]
595
602
  media_collection_uri = media_collection.href
596
603
 
597
- media_uri = client.create_media( media_collection_uri, '', 'image/jpeg')
604
+ media_uri = client.create_media( media_collection_uri, 'foo.jpg', 'image/jpeg')
598
605
  # with slug
599
606
  # client.create_media( media_collection_uri, 'foo.jpg', 'image/jpeg', 'new-image')
600
607
 
@@ -605,11 +612,6 @@ and in future, Atom::Auth::OAuth, Atom::Auth::OpenID, and etc.
605
612
 
606
613
  feed_contains_media_entreis = client.get_feed( media_collection_uri )
607
614
 
608
- = DESCRIPTION
609
-
610
- This library allows you to handle AtomPub and Atom Syndication Format easily.
611
- Most of the idea is from great Perl modules on CPAN.
612
-
613
615
  = TO DO
614
616
 
615
617
  * More document
@@ -619,10 +621,11 @@ Most of the idea is from great Perl modules on CPAN.
619
621
 
620
622
  = SEE ALSO
621
623
 
622
- AtomPub Spec(RFC):: http://atompub.org/rfc4287.html
623
- Atom::XML(Perl):: http://search.cpan.org/perldoc?XML%3A%3AAtom
624
- Atom::XML::Service(Perl):: http://search.cpan.org/perldoc?XML%3A%3AAtom%3A%3AService
625
- Atompub(Perl):: http://search.cpan.org/perldoc?Atompub
624
+ AtomPub Spec(RFC):: http://atompub.org/rfc4287.html
625
+ XML::Atom(Perl):: http://search.cpan.org/perldoc?XML%3A%3AAtom
626
+ XML::Atom::Service(Perl):: http://search.cpan.org/perldoc?XML%3A%3AAtom%3A%3AService
627
+ XML::Atom::Ext::Threading(Perl):: http://search.cpan.org/perldoc?XML%3A%3AAtom%3A%3AExt%3A%3AThreading
628
+ Atompub(Perl):: http://search.cpan.org/perldoc?Atompub
626
629
 
627
630
  = Author and License
628
631
 
data/lib/atomutil.rb CHANGED
@@ -55,7 +55,7 @@ module AtomUtil
55
55
  module VERSION#:nodoc:
56
56
  MAJOR = 0
57
57
  MINOR = 0
58
- TINY = 1
58
+ TINY = 2
59
59
  STRING = [MAJOR, MINOR, TINY].join('.')
60
60
  end
61
61
  end
data/website/index.txt CHANGED
@@ -35,5 +35,5 @@ This code is free to use under the terms of the MIT license.
35
35
 
36
36
  h2. Contact
37
37
 
38
- Comments are welcome. Send an email to "Lyo Kato":mailto:lyo.kato atmark gmail.com via the "forum":http://groups.google.com/group/atomutil
38
+ Comments are welcome. Send an email to "FIXME full name":mailto:FIXME email via the "forum":http://groups.google.com/group/atomutil
39
39
 
@@ -37,7 +37,7 @@
37
37
  </div>
38
38
  <%= body %>
39
39
  <p class="coda">
40
- <a href="lyo.kato atmark gmail.com">Lyo Kato</a>, <%= modified.pretty %><br>
40
+ <a href="FIXME email">FIXME full name</a>, <%= modified.pretty %><br>
41
41
  Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
42
42
  </p>
43
43
  </div>
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: atomutil
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.0.1
6
+ version: 0.0.2
7
7
  date: 2007-12-11 00:00:00 +09:00
8
8
  summary: Utilities for AtomPub / Atom Syndication Format
9
9
  require_paths: