Skip to content

Commit 15408d8

Browse files
feat: add blog mondediplo net (#251)
* [blog.mondediplo.net] Add la-pompe-a-phynance * Generalize to all the feeds of the platform. * add spec --------- Co-authored-by: Olivier Valentin <valentio@free.fr>
1 parent de1958d commit 15408d8

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
channel:
2+
url: https://blog.mondediplo.net/%<blog>s
3+
time_zone: Europe/Paris
4+
title: "blog.mondediplo.net: %<blog>s"
5+
ttl: 120
6+
selectors:
7+
items:
8+
selector: ".large > ul > li"
9+
title:
10+
selector: "h3"
11+
description:
12+
selector: ".intro"
13+
url:
14+
selector: "a"
15+
extractor: "href"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# frozen_string_literal: true
2+
3+
RSpec.describe 'blog.mondediplo.net/feed.yml' do
4+
it_behaves_like 'config.yml', 'blog.mondediplo.net/feed.yml', blog: '-Defense-en-ligne-'
5+
end

0 commit comments

Comments
 (0)