View Single Post
Old 01-24-2016, 08:54 AM   #197
rubeus
Banned
rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.
 
Posts: 272
Karma: 1224588
Join Date: Sep 2014
Device: Sony PRS 650
Quote:
Originally Posted by KevinH View Post
Renaming means having to do a universal update to find everything that points to it. That code exists in Sigil so renaming is best done inside Sigil itself and not in a plugin to prevent huge duplication of url/href/src and etc link updating code. The purpose of the plugin is to extend Sigil, not duplicate Sigil's functionality.
The idea behind was to have some kind of heuristic, which Sigil does not have built in.

For example:

chapter05
chapter05_x
chapter05_001
SVGIMG
chapter05_end

should be

chapter05
chapter05_0001
chapter05_0002
chapter05_0003
chapter05_0004

In Sigil you have to do this block for block entering the startfilename newly each time. But if there is no API to call the rename funtionality in Sigil i will stop here as i dont want to care of links myself.
rubeus is offline   Reply With Quote