Reply to post

Regex to trigger long press next

Author
reyanoo
User
  • Total Posts : 0
  • Reward points: 0
  • Joined: 2018/10/18 09:58:47
  • Status: offline
2022/01/23 08:17:01 (permalink)

Regex to trigger long press next

Hi Greg, 
I probably posted this same question in the wrong place earlier.

I would appreciate it if you give me the REGEX for (go to next chapter if a certain sentence is detected)..
 
At the end of each chapter i get a sentence with a link and following that there is a long comment section, where i have to long press next to go next chapter.
 
can you please give me the correct expression where i can enter the sentence with the link, and it automatically turns to the next chapter? 
 
Thanks.

4 Replies Related Threads

    Admin
    Administrator
    • Total Posts : 275
    • Reward points: 0
    • Joined: 2010/11/22 00:00:00
    • Location: USA
    • Status: offline
    Re: Regex to trigger long press next 2022/01/23 08:27:05 (permalink)
    The speech replacements only change the text of one sentence, before sending it to the TTS engine. Inserting there commands for the app would greatly complicate the code, introducing many bugs and problems. I can create a filter for the web site you are reading, to remove unwanted contents - even without modifying the app code. Just send me a few links and explain what should be removed.
     
    Greg
    reyanoo
    User
    • Total Posts : 0
    • Reward points: 0
    • Joined: 2018/10/18 09:58:47
    • Status: offline
    Re: Regex to trigger long press next 2022/01/23 08:54:05 (permalink)
    Ok cool,
     
    Here is what I usually do, I have a chrome extension (WEBtoEPUB) ,usually it captures all chapters fine.
     
    but in case of this website: http://www.qzxyzy.com/The-Author-s-POV/
    i have to enter the fist chapter manually and it would capture the chapters but this time it captures way more than just the chapter, as of my understanding the body in the page contains all the wanted and the unwanted text.
     
    if you open a chapter you will see that its fine and it should not contain the extra text before and after the actual chapter text.
    give it a try and you will understand what i mean.
     
    what i want to remove is the extra text before the actual chapter and after the end of the chapter.
    i dont really care about the title nor the chapter number so if there is a way to remove the header(i guess..) itss even better.
     
    any ideas to automate it somehow is welcome.
    Thanks a lot for the help Greg.
    Admin
    Administrator
    • Total Posts : 275
    • Reward points: 0
    • Joined: 2010/11/22 00:00:00
    • Location: USA
    • Status: offline
    Re: Regex to trigger long press next 2022/01/23 14:35:39 (permalink)
    I'm not sure if I could do this in an EPUB file. If you want, send me by email the epub file you created and I could experiment with it.
     
    There is maybe a better alternative: you could create a new reading list in @Voice (maybe with the same title as your web novel), then use the "Paste links" function on @Voice's Reading List menu to download all the chapters of the web novel to this reading list. I described how to do this in other posts:
     
    https://hyperionics.com/forum2/FindPost/13383
     
    Greg
    reyanoo
    User
    • Total Posts : 0
    • Reward points: 0
    • Joined: 2018/10/18 09:58:47
    • Status: offline
    Re: Regex to trigger long press next 2022/01/23 14:52:51 (permalink)
    Sounds Great, ill try it and give you feedback on it.
    Jump to:
    © 2024 APG vNext Commercial Version 5.1