Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 05-03-2018, 10:10 AM   #1
yonkyunior
Cultivator
yonkyunior doesn't litteryonkyunior doesn't litteryonkyunior doesn't litter
 
yonkyunior's Avatar
 
Posts: 94
Karma: 216
Join Date: Feb 2015
Device: PRST2
Question Reverse order xhtml files inside epub

I've epub contains blog articles,
and the articles order is from newest to oldest.

btw, is there a way/feature to reorder the xhtml inside, so i can read from oldest to newest (reverse order).

i know reorder through drag n drop, the files 2000+,

Last edited by yonkyunior; 05-03-2018 at 10:16 AM.
yonkyunior is offline   Reply With Quote
Old 05-03-2018, 10:35 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,826
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
If you are on linux/macOS simply copy paste the <spine> section of the OPF into a file. Then run

sort -r < spine_file > reversed_spine_file

Then copy/paste the reversed entries from reversed_spine_file into the OPF.
kovidgoyal is offline   Reply With Quote
Old 05-03-2018, 10:50 AM   #3
yonkyunior
Cultivator
yonkyunior doesn't litteryonkyunior doesn't litteryonkyunior doesn't litter
 
yonkyunior's Avatar
 
Posts: 94
Karma: 216
Join Date: Feb 2015
Device: PRST2
Quote:
Originally Posted by kovidgoyal View Post
If you are on linux/macOS simply copy paste the <spine> section of the OPF into a file. Then run

sort -r < spine_file > reversed_spine_file

Then copy/paste the reversed entries from reversed_spine_file into the OPF.
i'm using windows now, btw it works
reversed with online-tools/text/reverse-sort-list


saves alot of time
yonkyunior is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Some files.html & toc.xhtml (also Cover.xhtml) chaot Workshop 23 02-13-2017 12:20 PM
InDesign - ePub export html files instead of xhtml csavory ePub 5 02-06-2015 01:47 AM
Newbie Question: Separate XHTML files become separate ePub files marck Conversion 3 09-02-2011 12:58 PM
EPUB files formatted okay XHTML not so much condor Nook Color & Nook Tablet 13 04-29-2011 10:31 AM
Help - My Books now show up in reverse order... muñeca Fictionwise eBookwise 3 03-12-2008 08:48 PM


All times are GMT -4. The time now is 01:13 PM.


MobileRead.com is a privately owned, operated and funded community.