jekyll-octopod 0.18.2 → 0.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3e95c321128dfae975297d56250d21c9f7f47183ee0a4e54aaad16dd2541d210
4
- data.tar.gz: 7cab5b2868fece52002befdef60aa5a286fdcd87584e004cf06d3462598090f1
3
+ metadata.gz: bab9d22951437197ea9b85735a898f4c6fe4582ee18eb942f63864cbe842c5b9
4
+ data.tar.gz: 9dee8614f7de17e484323d2ca79d84be23e798dc953a98abe9c2dfae592be4fb
5
5
  SHA512:
6
- metadata.gz: 3331337c0ff0ee9b95376ab00899364f7032b549711bf8a6fa4e556c5d61a190fd495e08b4fa73e2847890b4a161eac4614ec6ab0f7a3cb490dc38d509d52836
7
- data.tar.gz: 52d377821ee236e2d25e578835e742811a2aa25d93f517a7898f542c4cc23e474a5e3812fae2164c6d8e91d7ab8b893b149a6f1f15268329d74985b1ff8ae4eb
6
+ metadata.gz: 90483ebdbb7ba04b2dd8c0a5a196f75356224fb482488de2b030ae02ab975f513012ca718bbb52ee6c9404286b019c80a2fc3c509bc5ff7f37f042624be5d77b
7
+ data.tar.gz: 0fcaa3555178d41f5a30acf9c8fe1254bb59efc19213190e79a59c0b3a6921a61cfee5f29cc82a06287845dd448e0f276bd8aa2714a758e01c0de5a2c33ebb54
@@ -0,0 +1,47 @@
1
+ # You have to configure this ###################################################
2
+ title: Octopod
3
+ # You should configure this ####################################################
4
+ url: http://localhost:4000
5
+ subtitle: Static Site Podcast Publishing for Geeks
6
+ description: My super duper cool podcast.
7
+ author: Uncle Octopod
8
+ email: octopod@example.com
9
+ keywords: [octopod, podcast, magic]
10
+ itunes_categories: [Technology]
11
+ # additional_feeds:
12
+ # itunes: http://itunes.apple.com/de/podcast/podcast_name/id42424242
13
+ # torrent_m4a: http://bitlove.org/example_user/example_podcast_m4a/feed
14
+ # torrent_mp3: http://bitlove.org/example_user/example_podcast_mp3/feed
15
+ episodes_per_feed_page: 100
16
+ ## Rsync Deploy config #########################################################
17
+ ### Be sure your public key is listed in your server's ~/.ssh/authorized_keys
18
+ ### file.
19
+ ssh_host: user@host.org
20
+ ssh_port: 22
21
+ document_root: /path/to/your/htdocs/
22
+ rsync_delete: true
23
+ # You can configure this #######################################################
24
+ twitter_nick: my_twitter_handle
25
+ language: en
26
+ explicit: 'no' # 'yes'/'no'/clean
27
+ license: CC BY 4.0
28
+ license_url: https://creativecommons.org/licenses/by/4.0/
29
+ license_image_url: https://i.creativecommons.org/l/by/4.0/88x31.png
30
+ ## Flattr ######################################################################
31
+ flattr_uid: # Flattr will not be used unless this is set
32
+ flattr_button: compact # compact | default
33
+ flattr_mode: auto # auto | manual(default)
34
+ flattr_popout: 1 # 1 | 0 (show popout when hovering mouse over button)
35
+ flattr_language: en_GB # available languages - https://api.flattr.com/rest/v2/languages.txt
36
+ flattr_category: audio # available categories - https://api.flattr.com/rest/v2/categories.txt
37
+ ## Disqus comments #############################################################
38
+ disqus_shortname: # Disqus will not be used unless this is set
39
+ disqus_developer: 0 # 1 / 0
40
+ ## Feed links ###########################################################
41
+ itunes_url: https://itunes.apple.com/at/podcast/myname/id#myid#
42
+ bitlove_url: https://bitlove.org/myaccount
43
+ fyyd_url: https://fyyd.de/podcast/myaccount/myid
44
+ gpodder_url: https://gpodder.net/podcast/mypodcast
45
+
46
+ gems: [jekyll-octopod]
47
+ theme: jekyll-bootflat
@@ -9,9 +9,6 @@ subtitle: Static Site Podcast Publishing for Geeks
9
9
  description: My super duper cool podcast.
10
10
  author: Uncle Octopod
11
11
 
12
- ### author_url: This is the URL of a site owned by the author (see https://jsonfeed.org/version/1)
13
- author_url: "http://your.fancy.hosting/"
14
-
15
12
  email: octopod@example.com
16
13
  keywords: [octopod, podcast, magic]
17
14
  itunes_categories: [Technology]
@@ -49,10 +46,6 @@ itunes_url: https://itunes.apple.com/at/podcast/myname/id232323
49
46
  # torrent_m4a: http://bitlove.org/example_user/example_podcast_m4a/feed
50
47
  # torrent_mp3: http://bitlove.org/example_user/example_podcast_mp3/feed
51
48
 
52
- ### Disqus comments
53
- disqus_shortname: # Disqus will not be used unless this is set
54
- disqus_developer: 0 # 1 | 0
55
-
56
49
  ### Isso comments
57
50
  use_isso: "no" # "no" | "yes"
58
51
 
data/bin/octopod CHANGED
@@ -407,7 +407,7 @@ if ARGV.size > 0 && (ARGV[0] == 'episode' || ARGV[0] == 'deploy' || ARGV[0] == '
407
407
  now_theme_served = theme_shipped_generic_files + %w[
408
408
  podlove-player subscribe-button favicon.ico apple-touch-icon-precomposed.png
409
409
  _includes/sidebar.html _includes/post_header.html _includes/post.html _includes/post_line.html
410
- _includes/disqus_thread.html _includes/disqus_count.html _includes/isso_thread.html
410
+ _includes/isso_thread.html
411
411
  ]
412
412
  found_theme_served = now_theme_served.select { |path| File.exist?(File.join(PWD, path)) }
413
413
 
@@ -420,6 +420,23 @@ if ARGV.size > 0 && (ARGV[0] == 'episode' || ARGV[0] == 'deploy' || ARGV[0] == '
420
420
  puts "===== ... done ===== ", ""
421
421
  end
422
422
 
423
+ # As of jekyll-octopod 0.19.0/0.20.0, JSON Feed and Disqus support are gone outright - not
424
+ # moved to the theme gem the way the paths above were, just removed. JSON Feed: no real
425
+ # podcast client ever consumed it, and a since-fixed bug in this gem's own :after_init hook
426
+ # meant it silently never even built. Disqus: unused across every site in this gem's own
427
+ # family (none had disqus_shortname set) and superseded by Isso for self-hosted comments. Any
428
+ # leftover 'feed.*.json' marker file or local copy of the old disqus includes is now genuinely
429
+ # dead - nothing generates or serves it any more. Removed the same way theme-served files are
430
+ # removed above.
431
+ removed_feature_paths = Dir.glob(File.join(PWD, 'feed.*.json')) +
432
+ %w[_includes/disqus_thread.html _includes/disqus_count.html]
433
+ .map { |path| File.join(PWD, path) }.select { |path| File.exist?(path) }
434
+ unless removed_feature_paths.empty?
435
+ puts "", "===== Removing files for features that were removed entirely (JSON Feed, Disqus) ====="
436
+ removed_feature_paths.each { |path| remove_theme_served_path(path) }
437
+ puts "===== ... done ===== ", ""
438
+ end
439
+
423
440
  puts "", "===== Pointing Gemfile/_config.yml at jekyll-octopod-bulma ... ====="
424
441
  update_gemfile_and_theme_config
425
442
  puts "===== ... done ===== ", ""
@@ -222,31 +222,6 @@ module Jekyll
222
222
  "@#{user}@#{uri.host}"
223
223
  end
224
224
 
225
- # Generates the config for disqus integration
226
- # If a page object is given, it generates the config variables only for this
227
- # page. Otherwise it generate only the global config variables.
228
- #
229
- # {{ site | disqus_config }}
230
- # {{ site | disqus_config:page }}
231
- def disqus_config(site, page = nil)
232
- if page
233
- disqus_vars = {
234
- 'disqus_identifier' => page['url'],
235
- 'disqus_url' => "#{site['url']}#{page['url']}",
236
- 'disqus_category_id' => page['disqus_category_id'] || site['disqus_category_id'],
237
- 'disqus_title' => j(page['title'] || site['site'])
238
- }
239
- else
240
- disqus_vars = {
241
- 'disqus_developer' => site['disqus_developer'],
242
- 'disqus_shortname' => site['disqus_shortname']
243
- }
244
- end
245
-
246
- disqus_vars.delete_if { |_, v| v.nil? }
247
- disqus_vars.map { |k, v| "var #{k} = '#{v}';" }.compact.join("\n")
248
- end
249
-
250
225
  # Returns the hex-encoded hash value of a given string. The optional
251
226
  # second argument defines the length of the returned string.
252
227
  #
@@ -5,19 +5,14 @@ module Jekyll
5
5
  site.config.update(
6
6
  'episode_feed_formats' => feeds.map { |f| f.match(/episodes\.(\w{3,4})\.rss/)[1] }
7
7
  )
8
- jsonfeeds = Dir["feed.{???,????}.json"]
9
- site.config.update(
10
- 'json_feed_formats' => jsonfeeds.map { |f| f.match(/feed\.(\w{3,4})\.json/)[1] }
11
- )
12
8
 
13
- # These marker files exist only so the scan above can detect which
14
- # formats to generate; PagedFeedPageGenerator creates the actual pages
15
- # at these exact paths. Excluding them here keeps Jekyll's normal
16
- # reader from also turning them into pages, which would otherwise
9
+ # This marker file exists only so the scan above can detect which formats to generate;
10
+ # PagedFeedPageGenerator creates the actual pages at these exact paths. Excluding it here
11
+ # keeps Jekyll's normal reader from also turning it into a page, which would otherwise
17
12
  # collide with the generator's output at the same destination.
18
- # site.exclude (not site.config['exclude']) is what Reader actually
19
- # consults, and it's copied from config before this hook runs.
20
- site.exclude += feeds + jsonfeeds
13
+ # site.exclude (not site.config['exclude']) is what Reader actually consults, and it's
14
+ # copied from config before this hook runs.
15
+ site.exclude += feeds
21
16
  end
22
17
  end
23
18
  end
@@ -2,8 +2,8 @@ module Jekyll
2
2
  class Octopod
3
3
  module VERSION #:nodoc:
4
4
  MAJOR = 0
5
- MINOR = 18
6
- TINY = 2
5
+ MINOR = 20
6
+ TINY = 1
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY].join('.')
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-octopod
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.2
4
+ version: 0.20.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arne Eilermann
@@ -105,6 +105,7 @@ extra_rdoc_files: []
105
105
  files:
106
106
  - README.md
107
107
  - Rakefile
108
+ - assets/_config.yml
108
109
  - assets/_config.yml.sample
109
110
  - assets/_posts/2016-03-22-episode0.md
110
111
  - assets/_sass/_overrides.scss
@@ -114,9 +115,6 @@ files:
114
115
  - assets/episodes/episode0.m4a
115
116
  - assets/episodes/episode0.mp3
116
117
  - assets/episodes/episode0.ogg
117
- - assets/feed.m4a.json
118
- - assets/feed.mp3.json
119
- - assets/feed.ogg.json
120
118
  - assets/general_feed.xml
121
119
  - assets/imprint.md
122
120
  - assets/index.md
data/assets/feed.m4a.json DELETED
@@ -1,5 +0,0 @@
1
- ---
2
- layout: jsonfeed
3
- format: m4a
4
- ---
5
- {{ content }}
data/assets/feed.mp3.json DELETED
@@ -1,5 +0,0 @@
1
- ---
2
- layout: jsonfeed
3
- format: mp3
4
- ---
5
- {{ content }}
data/assets/feed.ogg.json DELETED
@@ -1,5 +0,0 @@
1
- ---
2
- layout: jsonfeed
3
- format: ogg
4
- ---
5
- {{ content }}