Skip to content

Commit

Permalink
Add "The Far Side" (#23)
Browse files Browse the repository at this point in the history
* Add FarSide

* Add FarSide

* Better JPEG exports
  To suppress compression artifacts, 95% JPEG-quality had to be chosen for cover_big.jpg and 100% for cover.jpg

* Delete spiegel/cover.jpg

* Delete spiegel/cover_big.jpg

* Delete spiegel/example.jpg

* Delete spiegel/extract.js

* Delete spiegel/info.json

* Resolve merge conflict by re-adding "SPIEGEL"
  • Loading branch information
Olf0 authored Sep 30, 2023
1 parent 2a79ef5 commit 4fdd0b8
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 0 deletions.
Binary file added plugins/thefarside/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/thefarside/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/thefarside/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/thefarside/extract.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
function(page) {
var regex = /<img[^>]*id="[^"]*"[^>]*src="([^"]*)"/;
var match = regex.exec(page);
return match[1];
}
10 changes: 10 additions & 0 deletions plugins/thefarside/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "The Far Side",
"color": "3f8eb9",
"language": "en",
"authors": [
"Gary Larson"
],
"homepage": "https://www.thefarside.com/",
"stripSource": "https://www.thefarside.com/"
}

0 comments on commit 4fdd0b8

Please sign in to comment.