Wique: A tool for crawling the Qt Wiki


  • Moderators

    Hi all,

    I've been using a homebrew tool to give me an overview of the Qt Wiki, to help me with edits. I've published part of this tool here: https://github.com/JKSH/Wique

    In a nutshell, this tool:

    • Downloads a copy of the wiki to your local disk (you can export the data to a text file and grep them)
    • Displays a list of all pages in the wiki which you can sort and filter
    • Shows which pages redirect where

    It's not fully polished yet and there's a few little bugs around, but it does the job. If it ever gets stuck, just restart.

    Trivia: The Qt Wiki is currently about 12 MB in size.


  • Lifetime Qt Champion

    Hi,

    Nice ! Thanks !

    I've had several QSqlQuery::value: not positioned on a valid record, do you know what might cause them ?


  • Moderators

    @SGaist said:

    Hi,

    Nice ! Thanks !

    I've had several QSqlQuery::value: not positioned on a valid record, do you know what might cause them ?

    Glad to be of service :)

    I believe that's when the program tries to retrieve the timestamp from the database -- if the page hasn't been added to the database yet, then the timestamp doesn't exist so the record is invalid. The messages won't appear if there's no "new" entries to download (which is why I kind of forgot about it -- the message doesn't appear often).

    I'll add a check before calling QSqlQuery::value().


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.