LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Web-Scraping and src-attribute : change absolute to relative

Posted 10-26-2024 at 03:48 AM by Michael Uplawski
Updated 10-26-2024 at 03:52 AM by Michael Uplawski

I consider this a recurring task:

After having downloaded HTML and all the images or other files, needed, the absolute links in the HTML-file are no longer working and must be shortened to point at the location of the downloaded files.

In the most simple cases you can use your preferred line-editor to quickly eliminate any path that is preceding file-names in the src-attributes.

Whatever ... I prefer Ruby (and I do not care to bother with sed). Nokogiri...
Senior Member
Views 106 Comments 0 Michael Uplawski is offline
Old

Avif support for Qt – How it appears to work

Posted 01-20-2024 at 02:58 AM by Michael Uplawski
Updated 01-20-2024 at 02:39 PM by Michael Uplawski (Too many $ and stuff)

0.) Install libavif-dev
1.)
Code:
young_preacher@elysee:~/where_your/git_repos/are$ git clone https://github.com/novomesk/qt-avif-image-plugin.git
2.)
Code:
young_preacher@elysee:~/where_your/git_repos/are$ cd qt-avif-image-plugin/
3.)
Code:
young_preacher@elysee:~/where_your/git_repos/are/qt-avif-image-plugin$ ./build_libqavif_dynamic.sh
If you do not get a
Quote:
SUCCESS! in order to install libqavif.so type as root:
make install
, then do whatever is necessary before...
Attached Images
File Type: jpg sc.jpg (83.9 KB, 13 views)
Senior Member
Views 242 Comments 0 Michael Uplawski is offline
Old

Post processor script for flnews

Posted 04-15-2023 at 03:14 AM by Michael Uplawski
Updated 03-30-2024 at 03:47 AM by Michael Uplawski (new Ruby-Gem as of november 2023)

flnews_post_proc-1.39.gem


The page describing the current Ruby-Gem: http://www.uplawski.eu/div/flnews/ge...post_proc.html
The Download-page for the current Ruby-Gem for the post-processor which includes the configuration-file:
https://www.rubygems.org/gems/flnews_post_proc

30/03/2024:
The Ruby-Gem has advanced a lot, recently and what follows, is the equivalent of the man-page for version 1.39, transformed to markdown...
Attached Images
File Type: jpg lq_sc_flnews.jpg (183.7 KB, 20 views)
File Type: png lq_th_sc_flnews.png (16.2 KB, 115 views)
Senior Member
Views 810 Comments 0 Michael Uplawski is offline
Old

Qt: Embedding Translations in the program-file

Posted 03-29-2023 at 02:41 PM by Michael Uplawski
Updated 03-30-2024 at 04:49 AM by Michael Uplawski (German version, French version)


Embedding translations in Qt-programs



Introduction

Several techniques allow the internationalization of Qt -program.
I have worked out the procedure explained on this page, to embed translations in an executable file, so that they will be immediately available without having to keep
...
Attached Images
File Type: jpg lq_sc_upsslideshow.jpg (199.1 KB, 11 views)
File Type: png lq_th_sc_upsslideshow.png (10.9 KB, 121 views)
Senior Member
Views 391 Comments 0 Michael Uplawski is offline
Old

I am gaining distance.

Posted 11-04-2022 at 02:04 AM by Michael Uplawski
Updated 12-12-2022 at 06:52 AM by Michael Uplawski

Digging holes in the ground makes more sense than typing stuff on a computer keyboard. (– unnecessary details removed –) There are trees to plant, firewood to chop, my car to repair and that broken tile to replace.

Getting all done, is enough progress for me. All that I want.
Senior Member
Posted in Uncategorized
Views 553 Comments 1 Michael Uplawski is offline

  



All times are GMT -5. The time now is 01:14 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration