diff --git a/se/data/templates/colophon.xhtml b/se/data/templates/colophon.xhtml index cde7f66c..a07fc79c 100644 --- a/se/data/templates/colophon.xhtml +++ b/se/data/templates/colophon.xhtml @@ -12,13 +12,13 @@ The Standard Ebooks logo.

TITLE
- was published in YEAR by
+ was published in by
AUTHOR.

This ebook was produced for
Standard Ebooks
by
PRODUCER,
- and is based on a transcription produced in PG_YEAR by
+ and is based on a transcription produced in by
TRANSCRIBER_1, TRANSCRIBER_2, and The Online Distributed Proofreading Team
for
Project Gutenberg
@@ -26,14 +26,14 @@ Internet Archive.

The cover page is adapted from
PAINTING,
- a painting completed in YEAR by
+ a painting completed in by
COVER_ARTIST.
The cover and title pages feature the
League Spartan and Sorts Mill Goudy
- typefaces created in 2014 and 2009 by
+ typefaces created in and by
The League of Moveable Type.

The first edition of this ebook was released on
- January 1, 1900, 12:00 a.m.
+
You can check for updates to this ebook, view its revision history, or download it for different ereading systems at
standardebooks.org/ebooks/SE_IDENTIFIER.

The volunteer-driven Standard Ebooks project relies on readers like you to submit typos, corrections, and other improvements. Anyone can contribute at standardebooks.org.

diff --git a/se/se_epub.py b/se/se_epub.py index 14e4c0f0..0b24d848 100644 --- a/se/se_epub.py +++ b/se/se_epub.py @@ -1014,8 +1014,8 @@ def set_release_timestamp(self) -> None: dom = self.get_dom(file_path) if dom.xpath("/html/body/section[contains(@epub:type, 'colophon')]"): - for node in dom.xpath("/html/body/section[contains(@epub:type, 'colophon')]//b[contains(text(), 'January 1, 1900')]"): - node.replace_with(se.easy_xml.EasyXmlElement(etree.fromstring(str.encode("" + now_friendly + "")))) + for node in dom.xpath("/html/body/section[contains(@epub:type, 'colophon')]//time[contains(text(), 'January 1, 1900')]"): + node.replace_with(se.easy_xml.EasyXmlElement(etree.fromstring(str.encode("")))) with open(file_path, "w", encoding="utf-8") as file: file.write(dom.to_string()) diff --git a/tests/data/draftbook/jane-austen_draft-novel/src/epub/text/colophon.xhtml b/tests/data/draftbook/jane-austen_draft-novel/src/epub/text/colophon.xhtml index 7b661bfa..427b85ca 100644 --- a/tests/data/draftbook/jane-austen_draft-novel/src/epub/text/colophon.xhtml +++ b/tests/data/draftbook/jane-austen_draft-novel/src/epub/text/colophon.xhtml @@ -12,13 +12,13 @@ The Standard Ebooks logo.

Unknown Novel
- was published in 1810 by
+ was published in by
Jane Austen.

This ebook was produced for
Standard Ebooks
by
An Anonymous Volunteer,
- and is based on a transcription produced in 2010 by
+ and is based on a transcription produced in by
An Anonymous Volunteer
for
Project Gutenberg
@@ -26,14 +26,14 @@ Internet Archive.

The cover page is adapted from
At the Mirror,
- a painting completed in 1827 by
+ a painting completed in by
Georg Friedrich Kersting.
The cover and title pages feature the
League Spartan and Sorts Mill Goudy
- typefaces created in 2014 and 2009 by
+ typefaces created in and by
The League of Moveable Type.

The first edition of this ebook was released on
- January 1, 1900, 12:00 a.m.
+
You can check for updates to this ebook, view its revision history, or download it for different ereading systems at
standardebooks.org/ebooks/jane-austen/unknown-novel.

The volunteer-driven Standard Ebooks project relies on readers like you to submit typos, corrections, and other improvements. Anyone can contribute at standardebooks.org.

diff --git a/tests/data/testbook/jane-austen_test-novel/src/epub/text/colophon.xhtml b/tests/data/testbook/jane-austen_test-novel/src/epub/text/colophon.xhtml index 7b661bfa..427b85ca 100644 --- a/tests/data/testbook/jane-austen_test-novel/src/epub/text/colophon.xhtml +++ b/tests/data/testbook/jane-austen_test-novel/src/epub/text/colophon.xhtml @@ -12,13 +12,13 @@ The Standard Ebooks logo.

Unknown Novel
- was published in 1810 by
+ was published in by
Jane Austen.

This ebook was produced for
Standard Ebooks
by
An Anonymous Volunteer,
- and is based on a transcription produced in 2010 by
+ and is based on a transcription produced in by
An Anonymous Volunteer
for
Project Gutenberg
@@ -26,14 +26,14 @@ Internet Archive.

The cover page is adapted from
At the Mirror,
- a painting completed in 1827 by
+ a painting completed in by
Georg Friedrich Kersting.
The cover and title pages feature the
League Spartan and Sorts Mill Goudy
- typefaces created in 2014 and 2009 by
+ typefaces created in and by
The League of Moveable Type.

The first edition of this ebook was released on
- January 1, 1900, 12:00 a.m.
+
You can check for updates to this ebook, view its revision history, or download it for different ereading systems at
standardebooks.org/ebooks/jane-austen/unknown-novel.

The volunteer-driven Standard Ebooks project relies on readers like you to submit typos, corrections, and other improvements. Anyone can contribute at standardebooks.org.

diff --git a/tests/draft_commands/clean/test-1/golden/src/epub/text/colophon.xhtml b/tests/draft_commands/clean/test-1/golden/src/epub/text/colophon.xhtml index a6cfa7b6..427befb9 100644 --- a/tests/draft_commands/clean/test-1/golden/src/epub/text/colophon.xhtml +++ b/tests/draft_commands/clean/test-1/golden/src/epub/text/colophon.xhtml @@ -12,13 +12,13 @@ The Standard Ebooks logo

Great Expectations
- was published in 1861 by
+ was published in by
Charles Dickens.

This ebook was produced for the
Standard Ebooks project
by
Laura Klappenbach,
- and is based on a transcription produced in 1998 by
+ and is based on a transcription produced in by
An Anonymous Volunteer and David Widger
for
Project Gutenberg
@@ -26,14 +26,14 @@ HathiTrust Digital Library.

The cover page is adapted from
Self-Portrait,
- a painting completed in 1812 by
+ a painting completed in by
Joseph Paelinck.
The cover and title pages feature the
League Spartan and Sorts Mill Goudy
- typefaces created in 2014 and 2009 by
+ typefaces created in and by
The League of Moveable Type.

The first edition of this ebook was released on
- December 23, 2019, 10:06 p.m.
+
You can check for updates to this ebook, view its revision history, or download it for different ereading systems at
standardebooks.org/ebooks/charles-dickens/great-expectations.

The volunteer-driven Standard Ebooks project relies on readers like you to submit typos, corrections, and other improvements. Anyone can contribute at standardebooks.org.

diff --git a/tests/draft_commands/clean/test-1/in/src/epub/text/colophon.xhtml b/tests/draft_commands/clean/test-1/in/src/epub/text/colophon.xhtml index ba2fbf67..d25df517 100644 --- a/tests/draft_commands/clean/test-1/in/src/epub/text/colophon.xhtml +++ b/tests/draft_commands/clean/test-1/in/src/epub/text/colophon.xhtml @@ -13,7 +13,7 @@

Great Expectations
- was published in 1861 by
+ was published in by
Charles Dickens.

This ebook was produced for the
@@ -24,7 +24,7 @@ Laura Klappenbach,
- and is based on a transcription produced in 1998 by
+ and is based on a transcription produced in by
An Anonymous Volunteer and David Widger
@@ -39,7 +39,7 @@ Self-Portrait,
- a painting completed in 1812 by
+ a painting completed in by
Joseph Paelinck.
@@ -47,12 +47,12 @@ League Spartan and Sorts Mill Goudy
- typefaces created in 2014 and 2009 by
+ typefaces created in and by
The League of Moveable Type.

The first edition of this ebook was released on
- December 23, 2019, 10:06 p.m. +
You can check for updates to this ebook, view its revision history, or download it for different ereading systems at
diff --git a/tests/lint/semantic/s-041/in/src/epub/text/colophon.xhtml b/tests/lint/semantic/s-041/in/src/epub/text/colophon.xhtml index 41ad0c59..6f2a2cc3 100644 --- a/tests/lint/semantic/s-041/in/src/epub/text/colophon.xhtml +++ b/tests/lint/semantic/s-041/in/src/epub/text/colophon.xhtml @@ -12,13 +12,13 @@ The Standard Ebooks logo.

Unknown Novel
- was published in 1810 by
+ was published in by
Jane Austen.

This ebook was produced for
Standard Ebooks
by
An Anonymous Volunteer,
- and is based on a transcription produced in 2010 by
+ and is based on a transcription produced in by
An Anonymous Volunteer
for
Project Gutenberg
@@ -26,14 +26,14 @@ Internet Archive.

The cover page is adapted from
At the Mirror,
- a painting completed in 1827 by
+ a painting completed in by
Georg Friedrich Kersting.
The cover and title pages feature the
League Spartan and Sorts Mill Goudy
- typefaces created in 2014 and 2009 by
+ typefaces created in and by
The League of Moveable Type.

The first edition of this ebook was released on
- January 1, 1900, 12:00 a.m.
+
You can check for updates to this ebook, view its revision history, or download it for different ereading systems at
standardebooks.org/ebooks/jane-austen/unknown-novel/john-doe.

The volunteer-driven Standard Ebooks project relies on readers like you to submit typos, corrections, and other improvements. Anyone can contribute at standardebooks.org.

diff --git a/tests/lint/semantic/s-056/in/src/epub/text/colophon.xhtml b/tests/lint/semantic/s-056/in/src/epub/text/colophon.xhtml index 4aa93f83..60117b1c 100644 --- a/tests/lint/semantic/s-056/in/src/epub/text/colophon.xhtml +++ b/tests/lint/semantic/s-056/in/src/epub/text/colophon.xhtml @@ -12,13 +12,13 @@ The Standard Ebooks logo

Unknown Novel
- was published in 1900 by
+ was published in by
Jane Austen.

This ebook was produced for the
Standard Ebooks project
by
A. Producer,
- and is based on a transcription produced in 2000 by
+ and is based on a transcription produced in by
A. Transcriber, B. Transcriber, and The Online Distributed Proofreading Team
for
Project Gutenberg
@@ -26,14 +26,14 @@ Internet Archive.

The cover page is adapted from
A Very Nice Painting,
- a painting completed in 1900 by
+ a painting completed in by
Ann Artist.
The cover and title pages feature the
League Spartan and Sorts Mill Goudy
- typefaces created in 2014 and 2009 by
+ typefaces created in and by
The League of Moveable Type.

The first edition of this ebook was released on
- January 1, 1900, 12:00 a.m.
+
You can check for updates to this ebook, view its revision history, or download it for different ereading systems at
standardebooks.org/ebooks/jane-austen/unknown-novel.

The volunteer-driven Standard Ebooks project relies on readers like you to submit typos, corrections, and other improvements. Anyone can contribute at standardebooks.org.