Skip to content

Commit

Permalink
develmaster: Second round of commits for v1.9.95-beta1 (#37)
Browse files Browse the repository at this point in the history
* Add 7 comic strips: Gorilla, Hein de Kort, Lectrr, De wereld v. A. D., Schot, Tjeerd Royards, ZAK (#4)

* New cartoon: Lectrr
  Since Clay Bennett and der Spiegel Cartoon des Tages could enter the plugins with their political cartoons, I thought: why not Lectrr?

* Added plugin: Tjeerd Royaards
  Let's try again to get Tjeerd Royaards in, since political cartoons no longer seem to be banned. Supplying a large cover image is kind of difficult. Could we do it like this?

* New cover jpgs
  Why not?

* New cartoon: Hein de Kort
  Legendary cartoonist

* New cartoon: Zak
  Flemish cartoonist, unfortunately old cartoons

* 3 new cartoons
  Can't get enough!

* Swamp and Loading Artist
  Small changes

* [tjeerdroyaards/info.json] Shorten name

* [tjeerdroyaards/info.json] Do not use whiote as bg colour, but bg colour if the author's scetch

* [tjeerdroyaards/info.json] Use About page instead of https://tjeerdroyaards..com/

* [tjeerdroyaards/extract.js] Rectify RegEx

* [swamp/info.json] Improve weblinks

* [shot/info.json] Improve link, correct langauage and move to basvanderschot

* [basvanderschot/extract.js] Rename directory & improve RegEx

* [basvanderschot/example.jpg] Add new example image

* [pietergeenen/extract.js] Improve RegEx

* [pietergeenen/info.json] Alter homepage

* [lectrr/info.json] HTTPS Hompage

* [lectrr/extract.js] Fix extraction RegEx

* [lectrr/extract.js} Improve RegEx

* [lectrr/info.json] Align background colour

* [loadingartist/extract.js] Fix Regex and return value

* [loadingartist/info.json] Use HTTPS

* [gorilla/extract.js] Fix RegEx

* [gorilla/info.json] Fix authors

* [zak/extract.js] Enhance

* [zak/extract.js] Improve RegEx

* [tjeerdroyaards/extract.js] Improve RegEx

* [loadingartist/extract.js] Document absolute path without server prefix

* [heindekort/info.json] Rectify link

* [heindekort/extract.js] Improve RegEx

* [plugins] Added `gorilla/example.jpg` and moved `schot`

* [ccassandra/extract.js] Try fix from tardypad#89 (#31)
  Even though this fix was originally dismissed as not elegant, it is far better than a broken CCassandra plugin!  In general, I disagree with the notion that not everything reasonably feasible with JavaScript is allowed.  For details, see tardypad#89
  Furthermore this scheme seems to be generically applicable to comic strips from `tapas.io`.

* [vidadesuporte/extract.js] Optimise RegEx

* [README.md] Overhaul README

* [README.md] Fixes

* Create `.xdata/resources/plugins/bloomcounty` directory

* [README.md] More fixes

* Update LICENSE.txt

* [LICENSE.txt] Delete superfluous space character

* Update LICENSE.txt

* Update LICENSE.txt

* [LICENSE.txt] Add `nl` translation hint

* Update README.md (#33)
  - Use relative image links
  - Ads Contributors, translators and plug-in authors section
  - Minor changes

* [generate_list.sh] Overhaul

* [generate_covers_grid.sh] Overhaul

* [generate_list.sh] Beautify

* [generate_list.sh] Optimise slightly

* [generate_list.sh] Optimise `grep`ping

* [generate_list.sh] Use fgrep

* [generate_covers_grid.sh] Fix quoted in quoting

* [generate_list.sh] Normalise variable names

* [generate_covers_grid.sh] Do quote when potentially necessary

* [generate_covers_grid.sh] No need for `cat`

* [generate_covers_grid.sh] Add comment

* [generate_covers_grid.sh] … more commet.

* Clean up QML pages (#34)

* [AboutPage.qml] Clean up

* Delete `qml/scripts/ExternalLinks.js` helper functions

* [Constants.qml] Cleanse and update

* [ComicPage.qml] Omit deleted `../scripts/ExternalLinks.js`

* [ComicInfoPage.qml] Omit deleted `../scripts/ExternalLinks.js`

* [AboutPage.qml] Omit deleted `../scripts/ExternalLinks.js`

* [FavoritesPage.qml] Omit deleted `../scripts/ExternalLinks.js`

* [ImageOverlay.qml] Omit deleted `../scripts/ExternalLinks.js`

* [EndPanel.qml] Use specific article

* Update [ComicInfoPanel.qml] Omit deleted `../scripts/ExternalLinks.js`

* [harbour-dailycomics.qml] Add missing space

* [ComicItem.qml] Omit deleted `../scripts/ExternalLinks.js`

* [ImageOverlay.qml] "url" → "URL"

* [RequestContactDevRectangle.qml] Omit deleted `../scripts/ExternalLinks.js`

* [ZoomableImage.qml] Omit deleted `../scripts/ExternalLinks.js`

* [ComicInfoPanel.qml] Add copyright

* [ComicItem.qml] Add copyright

* [EndPanel.qml] Add copyright

* [ImageOverlay.qml] Add copyright

* [RequestContactDevRectangle.qml] Add copyright

* [RequestContactDevRectangle.qml] Remove extra, empty line

* [ZoomableImage.qml] Add copyright

* [harbour-dailycomics.qml] Add copyright

* [ComicInfoPage.qml] Add copyright

* [ComicPage.qml] Add copyright

* [FavoritesPage.qml] Add empty lines to align `QStr` fields

* [ComicItem.qml] Move added, empty line

* [ComicInfoPanel.qml] Move added, empty line

* [RequestContactDevRectangle.qml] Add empty line to align

* [ZoomableImage.qml] "Can't" → "Cannot"

* [AboutPage.qml] Add word "repository"

* [ComicItem.qml] Re-remove newline

* [ComicInfoPage.qml] Re-remove newline

* [ComicInfoPanel.qml] Re-remove newline

* [EndPanel.qml] Re-add neweline

* [RequestContactDevRectangle.qml] Re-remove newline

* [FavoritesPage.qml] Re-remove two newlines

* [ImageOverlay.qml] Move newline

* [StatusOverlay.qml] Adapt to deleted `../scripts/ExternalLinks.js`

* [ShareLinkPage.qml] Remoive superfluous newline

* [ShareLinkPage.qml] Add copyright

* [harbour-dailycomics.ts] Adapt and fix primary translations file (#35)

* Rename RequestContactDevRectangle.qml to ReportNewComicRectangle.qml

* [harbour-dailycomics.ts] RequestContactDevRectangle.qml → ReportNewComicRectangle.qml

* [harbour-dailycomics.pro] Remove stale references

* [harbour-dailycomics.pro] Add `rpmlintrc` file
  • Loading branch information
Olf0 authored Oct 15, 2023
2 parents bb16b80 + 8a23f8c commit dd72640
Show file tree
Hide file tree
Showing 62 changed files with 411 additions and 436 deletions.
1 change: 1 addition & 0 deletions .xdata/resources/plugins/bloomcounty/foo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

27 changes: 17 additions & 10 deletions LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ Copyright (c) 2018 Erik Mållberg <f03el@users.noreply.github.com>,
see https://github.com/sailfishos-applications/daily-comics/commits?author=f03el
Copyright (c) 2018-2020 Oleg Linkin <maledictusdemagog@gmail.com>,
see https://github.com/sailfishos-applications/daily-comics/commits?author=Maledictus
Copyright (c) 2019 Rob K <cow-n-berg@users.noreply.github.com>,
Copyright (c) 2019,2020 Rob K <cow-n-berg@users.noreply.github.com>,
see https://github.com/sailfishos-applications/daily-comics/commits?author=cow-n-berg
and on 2019-04-19 two commits just as "Rob K"
and in April 2019 two, in May / June 2020 five commits just as "Rob K"
Copyright (c) 2019 caio2k <caio2k@users.noreply.github.com>,
see https://github.com/sailfishos-applications/daily-comics/commits?author=caio2k
Copyright (c) 2019 sthocs <sthocs@users.noreply.github.com>,
Expand All @@ -34,14 +34,21 @@ https://github.com/sailfishos-applications/daily-comics/commit/47a83f15c3c43ac18
Copyright (c) 2020,2023 olf <Olf0@users.noreply.github.com>,
see https://github.com/sailfishos-applications/daily-comics/commits?author=Olf0

Translations:
- [de]: Copyright (c) 2016,2019 Haucke Schade <cnlpete@users.noreply.github.com>,
see https://github.com/sailfishos-applications/daily-comics/commits?author=cnlpete
Copyright (c) 2020 Mirian Margiani <ichthyosaurus@users.noreply.github.com>,
see https://github.com/sailfishos-applications/daily-comics/commits?author=ichthyosaurus
- [fr]: Copyright (c) 2018,2019 lutinotmalin <lutinotmalin@users.noreply.github.com>,
see https://github.com/sailfishos-applications/daily-comics/commits?author=lutinotmalin
- [sv]: Copyright (c) 2018 Erik Lundin, see
Translations
- [de]:
Copyright (c) 2016,2019 Haucke Schade <cnlpete@users.noreply.github.com>, see
https://github.com/sailfishos-applications/daily-comics/commits?author=cnlpete
Copyright (c) 2020 Mirian Margiani <ichthyosaurus@users.noreply.github.com>, see
https://github.com/sailfishos-applications/daily-comics/commits?author=ichthyosaurus
Copyright (c) 2023 olf <Olf0@users.noreply.github.com>, see
https://github.com/sailfishos-applications/daily-comics/commits?author=Olf0
- [fr]:
Copyright (c) 2018,2019 lutinotmalin <lutinotmalin@users.noreply.github.com>, see
https://github.com/sailfishos-applications/daily-comics/commits?author=lutinotmalin
- [nl]:
2017 by *<Unknown>*, see https://github.com/tardypad/sailfishos-daily-comics/pull/35
- [sv]:
Copyright (c) 2018 Erik Lundin, see
https://github.com/sailfishos-applications/daily-comics/commit/dfd23fb435a846fe5776a440669d92fe2eb5c39d

Canonical references for this license:
Expand Down
149 changes: 90 additions & 59 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,62 +1,93 @@
Daily Comics
============

Daily Comic strips reader for [SailfishOS](https://sailfishos.org/) and your [Jolla](http://jolla.com/)

Designed for phones usage
Basic tablet support


Features
--------

- select your favorite comics among the list for quick access
- retrieve automatically the new strips locally
- display basic information about comics
- quick view all new strips in a row
- glance at unread comics in cover
- save your preferred strips to the gallery
- share strips with people
- zoom strip for better readability
- full landscape view support
- comics from multiple languages
- animate gif comics
- individual comics as independent plugins


Info
----

![Comics covers](/info/comics_covers.jpg?raw=true "Comics covers")

The [comics list](info/comics_list.md) contains all supported comics

If you have some additional comics you would like to be in the list, please contact me.
You can as well check the [guidelines](info/comic_addition.md) and open a Pull Request for it.

See the [screenshots](info/screenshots/) folder for an overview of the application

Check the [issues](https://github.com/tardypad/daily-comics/issues) tab for current issues and possibly upcoming features


Resources
---------

Here below are few good online resources to find new comics

- [GoComics](http://gocomics.com/)
- [Tapastic](http://tapastic.com/)
- [Comics Kingdom](http://comicskingdom.com/)
- [WebToons](http://www.webtoons.com/)
- [Reddit webcomics](http://www.reddit.com/r/webcomics/)


Licenses
--------

Source code is released under the MIT license (See the [LICENSE](LICENSE) file)
Application specific graphics are released under Creative Commons CC BY

# Daily Comics
**Daily Comics is an simple to use comic strips and cartoon reader for [SailfishOS](https://sailfishos.org/), which allows for adding new comics / cartoons easily.**

### Features
- Select your favorite comics for quick access
- Retrieve new strips automatically on app start
- Show basic information about a comic
- View all new strips consequtively
- Indicate unread strips on the app cover
- Save strips to the gallery / filesystem
- Share strips via MMS, Bluetooth etc.
- Zoom strips arbitrarily for readability
- Full support for landscape orientation
- Support for animated GIFs
- Each comic uses an individual plugin
- Provides comics and cartoons in various languages
- Covers a multitude of topics and styles

## Screenshots of Daily Comics
| | | |
| :---: | :---: | :---: |
| | | |
| ![Favorite comics](./info/screenshots/favorites.png?raw=true) | ![View strip](./info/screenshots/comic_bar.png?raw=true) | ![Comic info](./info/screenshots/comic_info.png?raw=true) |
| Favorite&nbsp;comics | &nbsp;&nbsp;&nbsp;&nbsp;View&nbsp;strip&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | &nbsp;&nbsp;&nbsp;Comic&nbsp;info&nbsp;&nbsp;&nbsp;&nbsp; |
| | | |
| | | |
| ![Zoom strip](./info/screenshots/image_zoom.png?raw=true) | ![Select favorites](./info/screenshots/settings.png?raw=true) | ![App cover](./info/screenshots/cover.png?raw=true) |
| Zoom strip | Select favorites | App cover |
| | | |

## Info
![Comics covers](./info/comics_covers.jpg?raw=true "Comics covers")

The [comics list](./info/comics_list.md) shows the currently supported comics.

If you want some additional comics or cartoons to be supported by Daily Comics, please check the [guidelines](./info/comic_addition.md) and open a Pull Request.

Please file bug reports, feature suggestions and help requests in an [issue](https://github.com/sailfishos-applications/daily-comics/issues), after having ensured, that this is not already covered by an existing issue.

## Resources
Some resources to find new comics
- [GoComics](https://gocomics.com/)
- [Tapastic](https://tapastic.com/)
- [Comics Kingdom](https://comicskingdom.com/)
- [WebToons](https://www.webtoons.com/)
- [Reddit webcomics](https://www.reddit.com/r/webcomics/)

## Translating Daily Comics (l10n / i18n)
If you want to translate Daily Comics to a language it does not support yet or improve an extant translation, please [read the translations-README](./translations#readme).

## History of Daily Comics

## Contributors
### Source Code
- [2015-2019](https://github.com/sailfishos-applications/daily-comics/commits?author=tardypad) Damien Tardy-Panis ([tardypad](https://github.com/tardypad))
- [2016,2019](https://github.com/sailfishos-applications/daily-comics/commits?author=cnlpete) Haucke Schade ([cnlpete](https://github.com/cnlpete))
- [2018-2020](https://github.com/sailfishos-applications/daily-comics/commits?author=Maledictus) Oleg Linkin ([Maledictus](https://github.com/Maledictus))
- [2020](https://github.com/sailfishos-applications/daily-comics/commits?author=ichthyosaurus) Mirian Margiani ([ichthyosaurus](https://github.com/ichthyosaurus))
- [2023](https://github.com/sailfishos-applications/daily-comics/commits?author=Olf0) olf ([Olf0](https://github.com/Olf0))

### Plugins
- [2015-2019](https://github.com/sailfishos-applications/daily-comics/commits?author=tardypad) Damien Tardy-Panis ([tardypad](https://github.com/tardypad))
- [2018](https://github.com/sailfishos-applications/daily-comics/commits?author=f03el) Erik Mållberg ([f03el](https://github.com/f03el))
- [2018-2020](https://github.com/sailfishos-applications/daily-comics/commits?author=Maledictus) Oleg Linkin ([Maledictus](https://github.com/Maledictus))
- [2019,2020](https://github.com/sailfishos-applications/daily-comics/commits?author=cow-n-berg) Rob K ([cow-n-berg](https://github.com/cow-n-berg))
- [2019](https://github.com/sailfishos-applications/daily-comics/commits?author=caio2k) caio2k ([caio2k](https://github.com/caio2k))
- [2019](https://github.com/sailfishos-applications/daily-comics/commits?author=sthocs) sthocs ([sthocs](https://github.com/sthocs))
- [2019](https://github.com/sailfishos-applications/daily-comics/commit/f28be7cf1d112f9e48bf853ad032f8f6f9a622c8) dryo
- [2020](https://github.com/sailfishos-applications/daily-comics/commit/47a83f15c3c43ac189cd31ea327e98cad19addb3) Joni Korhonen
- [2020,2023](https://github.com/sailfishos-applications/daily-comics/commits?author=Olf0) olf ([Olf0](https://github.com/Olf0))

### Translations
- [`de`](https://app.transifex.com/olf/daily-comics/language/de/)
- [2016,2019](https://github.com/sailfishos-applications/daily-comics/commits?author=cnlpete) Haucke Schade ([cnlpete](https://github.com/cnlpete))
- [2020](https://github.com/sailfishos-applications/daily-comics/commits?author=ichthyosaurus) Mirian Margiani ([ichthyosaurus](https://github.com/ichthyosaurus))
- [2023](https://github.com/sailfishos-applications/daily-comics/commits?author=Olf0) olf ([Olf0](https://github.com/Olf0))
- [`fr`](https://app.transifex.com/olf/daily-comics/language/fr/)
- [2018,2019](https://github.com/sailfishos-applications/daily-comics/commits?author=lutinotmalin) [lutinotmalin](https://github.com/lutinotmalin)
- [`nl`](https://app.transifex.com/olf/daily-comics/language/nl/)
- [2017](https://github.com/tardypad/sailfishos-daily-comics/pull/35) *\<Unknown\>*
- [`sv`](https://app.transifex.com/olf/daily-comics/language/sv/)
- [2018](https://github.com/sailfishos-applications/daily-comics/commit/dfd23fb435a846fe5776a440669d92fe2eb5c39d) Erik Lundin

## Licenses
The source code of Daily Comics (i.e., all code in this source code repository) is released under the classic MIT license (see the [LICENSE](./LICENSE.txt) file).
Application specific graphics (icons etc.) are released under the [Creative Commons Attribution license (CC BY)](https://creativecommons.org/licenses/by/4.0/deed.en).

Canonical references for this license:
- https://spdx.org/licenses/MIT.html
- https://opensource.org/license/mit/

Contributions are welcome.

Expand Down
9 changes: 4 additions & 5 deletions harbour-dailycomics.pro
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ HEADERS += $$files(src/*.h)

OTHER_FILES = \
$$files(qml/*.qml, true) \
$$files(qml/*.js, true) \
translations/* \
rpm/$${TARGET}.yaml \
rpm/$${TARGET}.spec \
rpm/$${TARGET}.rpmlintrc \
$${TARGET}.desktop

RESOURCES += $${TARGET}.qrc
Expand All @@ -38,8 +37,8 @@ DEFINES += \
PLUGINS_FOLDER_PATH=\"\\\"$${plugins.path}/plugins\\\"\"

TRANSLATIONS += \
translations/$${TARGET}.ts \
translations/$${TARGET}-de.ts \
translations/$${TARGET}-en.ts \
translations/$${TARGET}-fr.ts \
translations/$${TARGET}-nl.ts \
translations/$${TARGET}-sv.ts \
translations/$${TARGET}-fr.ts
translations/$${TARGET}-sv.ts
Binary file added plugins/basvanderschot/cover-big.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugins/basvanderschot/cover.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugins/basvanderschot/example.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions plugins/basvanderschot/extract.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
function(page) {
var regex = /<img[^>]*src="([^"]*)"/;
var match = regex.exec(page);
return match[1].replace('\/thumbs', '');
}
10 changes: 10 additions & 0 deletions plugins/basvanderschot/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "Schot",
"color": "1985cd",
"language": "en",
"authors": [
"Bas van der Schot"
],
"homepage": "https://basvanderschot.com/",
"stripSource": "https://basvanderschot.com/feeds/feed-en.rss"
}
14 changes: 12 additions & 2 deletions plugins/ccassandra/extract.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
function(page) {
var regex = /&lt;img[^&]*src="([^"]*media.tumblr.com\/[^"]*)"/;
var regex = /<a\sclass="ga-tracking\sjs-episode\s+"(.|\s)+?href="([^"]+)"/
var match = regex.exec(page);
return match[1].replace("_500","_1280");
var url = "https://tapas.io" + match[2]
var xhr = new XMLHttpRequest();
xhr.open("GET", url , false);
xhr.send(null);
if(xhr.status === 200)
{
var newPage = xhr.responseText;
var regex2 = /<img\s*src="([^"]*)"\sclass="content__img"/
var match2 = regex2.exec(newPage);
return match2[1];
}
}
Binary file added plugins/gorilla/cover-big.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugins/gorilla/cover.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugins/gorilla/example.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions plugins/gorilla/extract.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
function(page) {
var regex = /<a[^>]+href="[^"]*\/cartoons\/.+<img[^>]+src="([^"]*)"/;
var match = regex.exec(page);
return match[1];
// return "https://www.groene.nl" + match[1];
}
16 changes: 16 additions & 0 deletions plugins/gorilla/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "Gorilla",
"color": "ed1c24",
"language": "nl",
"authors": [
"Gorilla collectief / Designpolitie:",
"Herman van Bostelen",
"Richard van der Laken",
"Pepijn Zurburg",
"Alex Clay",
"Karin van den Brandt",
"Lesley Moore"
],
"homepage": "https://www.groene.nl/cartoonisten/gorilla",
"stripSource": "https://www.groene.nl/cartoonisten/gorilla"
}
Binary file added plugins/heindekort/cover-big.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugins/heindekort/cover.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugins/heindekort/example.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions plugins/heindekort/extract.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
function(page) {
var regex = /<img[^>]+src="([^"]+)"/g;
var match = regex.exec(page);
var match2 = regex.exec(page);
return match2[1].replace(/&amp;/g, '&');
}
10 changes: 10 additions & 0 deletions plugins/heindekort/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "Hein de Kort",
"color": "bb2622",
"language": "nl",
"authors": [
"Hein de Kort"
],
"homepage": "https://heindekort.nl/",
"stripSource": "https://www.parool.nl/columns-opinie/hein-de-kort~q413f929/"
}
Binary file added plugins/lectrr/cover-big.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugins/lectrr/cover.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugins/lectrr/example.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions plugins/lectrr/extract.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
function(page) {
var regex = /<img src="([^"]+\\.jpg)((?!<img).)*artoon van de dag/;
var match = regex.exec(page);
return match[1];
}
10 changes: 10 additions & 0 deletions plugins/lectrr/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "Lectrr",
"color": "7adfb7",
"language": "nl",
"authors": [
"Lectrr"
],
"homepage": "https://lectrr.be/",
"stripSource": "https://www.standaard.be/foto"
}
3 changes: 2 additions & 1 deletion plugins/loadingartist/extract.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
function(page) {
var regex = /<img[^>]*src="([^"]*\/wp-content\/uploads\/[^"]*)"/;
var regex = /<img[^>]+src="(\/comic[^"]+\\.jpg)"/;
var match = regex.exec(page);
return match[1];
// return "https://loadingartist.com" + match[1];
}
4 changes: 2 additions & 2 deletions plugins/loadingartist/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"authors": [
"Gregor Czaykowski"
],
"homepage": "http://www.loadingartist.com/",
"stripSource": "http://www.loadingartist.com/latest"
"homepage": "https://loadingartist.com/",
"stripSource": "https://loadingartist.com/latest"
}
Binary file added plugins/pietergeenen/cover-big.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugins/pietergeenen/cover.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugins/pietergeenen/example.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions plugins/pietergeenen/extract.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
function(page) {
var regex = /<source[^>]*srcset="([^"]*)"[^>]*type="image\/jpeg">/;
var match = regex.exec(page);
// return match[1].replace('&amp;', '&');
return match[1]
}
10 changes: 10 additions & 0 deletions plugins/pietergeenen/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "De wereld van Anton Dingeman",
"color": "005693",
"language": "nl",
"authors": [
"Pieter Geenen"
],
"homepage": "https://www.trouw.nl/auteur/Pieter%20Geenen",
"stripSource": "https://www.trouw.nl/cartoons/de-wereld-van-anton-dingeman~b7e8c8e1/"
}
4 changes: 2 additions & 2 deletions plugins/swamp/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"authors": [
"Gary Clark"
],
"homepage": "https://www.swamp.com.au/",
"stripSource": "http://www.swamp.com.au/cartoons.php"
"homepage": "https://swamp.com.au/",
"stripSource": "https://swamp.com.au/"
}
Binary file added plugins/tjeerdroyaards/cover-big.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugins/tjeerdroyaards/cover.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugins/tjeerdroyaards/example.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions plugins/tjeerdroyaards/extract.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
function(page) {
var regex = /<img[^>]+src="([^"]*\/\\.a\/[^"]+)"/;
var match = regex.exec(page);
return match[1];
}
10 changes: 10 additions & 0 deletions plugins/tjeerdroyaards/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "Tjeerd Royaards",
"color": "1536cf",
"language": "en",
"authors": [
"Tjeerd Royaards"
],
"homepage": "https://tjeerdroyaards.typepad.com/my-blog/about.html",
"stripSource": "https://tjeerdroyaards.typepad.com/"
}
2 changes: 1 addition & 1 deletion plugins/vidadesuporte/extract.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
function(page) {
var regex = /<img[^>]* src="([^"]*wp-content\/uploads\/[^"]*Suporte[^"]+)"/;
var regex = /<img[^>]+src="([^"]*wp-content\/uploads\/[^"]*Suporte[^"]+)"/;
var match = regex.exec(page);
return match[1];
}
Binary file added plugins/zak/cover-big.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugins/zak/cover.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugins/zak/example.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions plugins/zak/extract.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
function(page) {
var regex = /<meta[^>]+property="og:image"[^>]+content="([^"]+)"/;
var match = regex.exec(page);
return match[1];
// return match[1].replace(/&amp;/g, '&');
}
Loading

0 comments on commit dd72640

Please sign in to comment.