aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/en/kindle/rails_guides.opf.erb
diff options
context:
space:
mode:
authorRodrigo Martins <rodrigo@rrmartins.com>2012-10-17 03:30:45 -0300
committerRodrigo Martins <rodrigo@rrmartins.com>2012-10-17 03:30:45 -0300
commit09682e9e7328b1c1466ae87af08f1785a0b5d7e3 (patch)
tree68b9eefb2bacebb59b9d2054a356c7eacda510bf /guides/source/en/kindle/rails_guides.opf.erb
parentd761eab42b5f0dc4a819c271f16579f84724c3ae (diff)
downloadrails-09682e9e7328b1c1466ae87af08f1785a0b5d7e3.tar.gz
rails-09682e9e7328b1c1466ae87af08f1785a0b5d7e3.tar.bz2
rails-09682e9e7328b1c1466ae87af08f1785a0b5d7e3.zip
Change with start of translation in internationalization, this time with pt_br.
Diffstat (limited to 'guides/source/en/kindle/rails_guides.opf.erb')
-rw-r--r--guides/source/en/kindle/rails_guides.opf.erb52
1 files changed, 52 insertions, 0 deletions
diff --git a/guides/source/en/kindle/rails_guides.opf.erb b/guides/source/en/kindle/rails_guides.opf.erb
new file mode 100644
index 0000000000..4e07664fd0
--- /dev/null
+++ b/guides/source/en/kindle/rails_guides.opf.erb
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<package xmlns="http://www.idpf.org/2007/opf" version="2.0" unique-identifier="RailsGuides">
+<metadata>
+ <meta name="cover" content="cover" />
+ <dc-metadata xmlns:dc="http://purl.org/dc/elements/1.1/">
+
+ <dc:title>Ruby on Rails Guides (<%= @version %>)</dc:title>
+
+ <dc:language>en-us</dc:language>
+ <dc:creator>Ruby on Rails</dc:creator>
+ <dc:publisher>Ruby on Rails</dc:publisher>
+ <dc:subject>Reference</dc:subject>
+ <dc:date><%= Time.now.strftime('%Y-%m-%d') %></dc:date>
+
+ <dc:description>These guides are designed to make you immediately productive with Rails, and to help you understand how all of the pieces fit together.</dc:description>
+ </dc-metadata>
+ <x-metadata>
+ <output content-type="application/x-mobipocket-subscription-magazine" encoding="utf-8"/>
+ </x-metadata>
+</metadata>
+
+<manifest>
+ <!-- HTML content files [mandatory] -->
+ <% documents_flat.each do |document| %>
+ <item id="<%= document['url'] %>" media-type="text/html" href="<%= document['url'] %>" />
+ <% end %>
+
+ <% %w{toc.html credits.html welcome.html copyright.html}.each do |url| %>
+ <item id="<%= url %>" media-type="text/html" href="<%= url %>" />
+ <% end %>
+
+ <item id="toc" media-type="application/x-dtbncx+xml" href="toc.ncx" />
+
+ <item id="cover" media-type="image/jpeg" href="images/rails_guides_kindle_cover.jpg"/>
+</manifest>
+
+<spine toc="toc">
+ <itemref idref="toc.html" />
+ <itemref idref="welcome.html" />
+ <itemref idref="credits.html" />
+ <itemref idref="copyright.html" />
+ <% documents_flat.each do |document| %>
+ <itemref idref="<%= document['url'] %>" />
+ <% end %>
+</spine>
+
+<guide>
+ <reference type="toc" title="Table of Contents" href="toc.html"></reference>
+</guide>
+
+</package>