View Single Post
Old 09-22-2020, 12:23 AM   #1
mikage3038
Junior Member
mikage3038 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2020
Device: Kindle Paperwhite
Is it possible to edit 1st line of HTML while converting?

Hello everyone

I use Calibre to send documents to my Kindle, and now I want to make a change in my file.
I got the original file in azw3 but recognized as MOBI in Calibre(bought from Amazon).For editing, I convert it to AZW3 in Calibre and found it was like this: (HTML file in the text part)
Quote:
<html xmlns="http://www.w3.org/1999/xhtml" class="hltr" lang="ja">
<head><meta charset="UTF-8"/>
<title>ご利用上の注意</title>
<link href="../styles/0002.css" rel="stylesheet" type="text/css"/>
<link href="../styles/0001.css" rel="stylesheet" type="text/css"/>

</head>
<body class="p-caution">
<div class="main1">

<p class="calibre">本電子書籍を示すサムネイルなどのイメージ画像は、再ダウンロード時に予 告なく変更される場合があります。</p>

</div>
</body>
</html>
And I just want to change the [class="vrtl"] in the first line into [class="hltr"] or maybe just delete it.
But I found that the Search&Replace function in Convert doesn't work.
I have seen that it's unable to change things out of <body>
So is there any way to do that?
(For now I can use the editor to change that file-by-file, but it's too inefficiency.)

Thank you

PS:For what's I'm doing, I just want to change the vertical-writing to horizontal one. A Lot of books are released vertical in Japan but I prefer horizontal.
mikage3038 is offline   Reply With Quote