html2rss 0.6.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +122 -17
- data/.travis.yml +3 -3
- data/CHANGELOG.md +97 -42
- data/Gemfile +2 -0
- data/Gemfile.lock +84 -53
- data/README.md +461 -47
- data/html2rss.gemspec +11 -7
- data/lib/html2rss.rb +5 -4
- data/lib/html2rss/attribute_post_processors.rb +4 -10
- data/lib/html2rss/attribute_post_processors/gsub.rb +42 -0
- data/lib/html2rss/attribute_post_processors/markdown_to_html.rb +45 -0
- data/lib/html2rss/attribute_post_processors/parse_time.rb +1 -1
- data/lib/html2rss/attribute_post_processors/parse_uri.rb +3 -2
- data/lib/html2rss/attribute_post_processors/sanitize_html.rb +42 -22
- data/lib/html2rss/attribute_post_processors/substring.rb +11 -5
- data/lib/html2rss/attribute_post_processors/template.rb +23 -14
- data/lib/html2rss/config.rb +40 -20
- data/lib/html2rss/feed_builder.rb +42 -20
- data/lib/html2rss/item.rb +24 -18
- data/lib/html2rss/item_extractors.rb +6 -13
- data/lib/html2rss/item_extractors/attribute.rb +1 -1
- data/lib/html2rss/item_extractors/href.rb +2 -2
- data/lib/html2rss/item_extractors/static.rb +2 -2
- data/lib/html2rss/utils.rb +18 -12
- data/lib/html2rss/version.rb +2 -1
- metadata +88 -23
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b83929fc4acc7dcb863da1dadc5909c19812bb4241e322832ad8987d1b1d23e
|
4
|
+
data.tar.gz: 0e72ca51e8ce9ae69ca2fdb6d10132414c285e30fa3d21b58d4993a02ca68883
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5060f03d6fb087f5e22cdced84e4d4bda8eebfff186d1083a6926a716910b0449ff0fee998f724a5e70e5cacbce56e156972df517701182f6aa8cd0560c2fe3f
|
7
|
+
data.tar.gz: d645d50ca75cc3aba7bdaf4e2f60ac9209a570f39276b131309b243b78df89092b039084dc207da6825c8191964da8678b25e520fc4d2b92f6bd09486f460c23
|
data/.rubocop.yml
CHANGED
@@ -3,12 +3,9 @@ require:
|
|
3
3
|
- rubocop-rspec
|
4
4
|
|
5
5
|
AllCops:
|
6
|
-
TargetRubyVersion: 2.
|
6
|
+
TargetRubyVersion: 2.5
|
7
7
|
DisplayCopNames: true
|
8
8
|
|
9
|
-
Metrics/LineLength:
|
10
|
-
Max: 110
|
11
|
-
|
12
9
|
Metrics/BlockLength:
|
13
10
|
Exclude:
|
14
11
|
- "**/*_spec.rb"
|
@@ -18,33 +15,49 @@ Metrics/ModuleLength:
|
|
18
15
|
Exclude:
|
19
16
|
- "**/*_spec.rb"
|
20
17
|
|
21
|
-
|
22
|
-
|
18
|
+
Layout/ClassStructure:
|
19
|
+
Enabled: true
|
23
20
|
|
24
|
-
|
21
|
+
Layout/HeredocArgumentClosingParenthesis:
|
25
22
|
Enabled: true
|
26
23
|
|
27
|
-
|
24
|
+
Layout/LineLength:
|
25
|
+
Max: 110
|
26
|
+
|
27
|
+
Layout/MultilineArrayLineBreaks:
|
28
28
|
Enabled: true
|
29
|
-
Exclude:
|
30
|
-
- '**/*_spec.rb'
|
31
29
|
|
32
|
-
|
33
|
-
Enabled:
|
30
|
+
Layout/MultilineHashKeyLineBreaks:
|
31
|
+
Enabled: true
|
34
32
|
|
35
|
-
|
33
|
+
Layout/SpaceInsideParens:
|
34
|
+
Enabled: true
|
35
|
+
|
36
|
+
Layout/EmptyLinesAroundAttributeAccessor:
|
37
|
+
Enabled: true
|
38
|
+
|
39
|
+
Layout/SpaceAroundMethodCallOperator:
|
40
|
+
Enabled: true
|
41
|
+
|
42
|
+
Lint/HeredocMethodCallPosition:
|
43
|
+
Enabled: true
|
44
|
+
|
45
|
+
Lint/NumberConversion:
|
36
46
|
Enabled: false
|
37
47
|
|
38
|
-
|
39
|
-
Description: 'Enforce braces style around hash parameters.'
|
48
|
+
Lint/DeprecatedOpenSSLConstant:
|
40
49
|
Enabled: true
|
41
50
|
|
42
|
-
|
51
|
+
Lint/MixedRegexpCaptureTypes:
|
43
52
|
Enabled: true
|
44
53
|
|
45
|
-
|
54
|
+
Lint/RaiseException:
|
46
55
|
Enabled: true
|
47
56
|
|
57
|
+
Lint/StructNewOverride:
|
58
|
+
Enabled: true
|
59
|
+
|
60
|
+
|
48
61
|
Performance/CaseWhenSplat:
|
49
62
|
Enabled: true
|
50
63
|
|
@@ -54,6 +67,98 @@ Performance/ChainArrayAllocation:
|
|
54
67
|
Performance/OpenStruct:
|
55
68
|
Enabled: true
|
56
69
|
|
70
|
+
|
57
71
|
RSpec/NestedGroups:
|
58
72
|
Exclude:
|
59
73
|
- spec/html2rss_spec.rb
|
74
|
+
|
75
|
+
|
76
|
+
Style/AsciiComments:
|
77
|
+
Enabled: false
|
78
|
+
|
79
|
+
Style/AutoResourceCleanup:
|
80
|
+
Enabled: true
|
81
|
+
|
82
|
+
Style/BlockDelimiters:
|
83
|
+
Enabled: true
|
84
|
+
Exclude:
|
85
|
+
- '**/*_spec.rb'
|
86
|
+
|
87
|
+
Style/HashEachMethods:
|
88
|
+
Enabled: true
|
89
|
+
|
90
|
+
Style/HashTransformKeys:
|
91
|
+
Enabled: true
|
92
|
+
|
93
|
+
Style/HashTransformValues:
|
94
|
+
Enabled: true
|
95
|
+
|
96
|
+
Style/CollectionMethods:
|
97
|
+
Enabled: true
|
98
|
+
|
99
|
+
Style/ConstantVisibility:
|
100
|
+
Enabled: true
|
101
|
+
|
102
|
+
Style/DateTime:
|
103
|
+
Enabled: true
|
104
|
+
|
105
|
+
Style/Documentation:
|
106
|
+
Exclude:
|
107
|
+
- lib/html2rss/version.rb
|
108
|
+
|
109
|
+
Style/DocumentationMethod:
|
110
|
+
Enabled: false
|
111
|
+
|
112
|
+
Style/FormatStringToken:
|
113
|
+
Enabled: false
|
114
|
+
|
115
|
+
Style/FrozenStringLiteralComment:
|
116
|
+
Enabled: false
|
117
|
+
|
118
|
+
Style/HashSyntax:
|
119
|
+
Enabled: true
|
120
|
+
|
121
|
+
Style/InlineComment:
|
122
|
+
Enabled: true
|
123
|
+
|
124
|
+
Style/IpAddresses:
|
125
|
+
Enabled: true
|
126
|
+
|
127
|
+
Style/MethodCallWithArgsParentheses:
|
128
|
+
Enabled: false
|
129
|
+
|
130
|
+
Style/MethodCalledOnDoEndBlock:
|
131
|
+
Enabled: true
|
132
|
+
|
133
|
+
Style/MissingElse:
|
134
|
+
Enabled: true
|
135
|
+
|
136
|
+
Style/MultilineMethodSignature:
|
137
|
+
Enabled: true
|
138
|
+
|
139
|
+
Style/OptionHash:
|
140
|
+
Enabled: true
|
141
|
+
|
142
|
+
Style/ReturnNil:
|
143
|
+
Enabled: true
|
144
|
+
|
145
|
+
Style/SingleLineBlockParams:
|
146
|
+
Enabled: true
|
147
|
+
|
148
|
+
Style/StderrPuts:
|
149
|
+
Enabled: true
|
150
|
+
|
151
|
+
Style/StringMethods:
|
152
|
+
Enabled: true
|
153
|
+
|
154
|
+
Style/ExponentialNotation:
|
155
|
+
Enabled: true
|
156
|
+
|
157
|
+
Style/RedundantRegexpCharacterClass:
|
158
|
+
Enabled: true
|
159
|
+
|
160
|
+
Style/RedundantRegexpEscape:
|
161
|
+
Enabled: true
|
162
|
+
|
163
|
+
Style/SlicingWithRange:
|
164
|
+
Enabled: true
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,59 @@
|
|
1
|
-
# [](https://github.com/gildesmarais/html2rss/compare/v0.
|
1
|
+
# [](https://github.com/gildesmarais/html2rss/compare/v0.9.0...v) (2020-06-19)
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
# [0.9.0](https://github.com/gildesmarais/html2rss/compare/v0.8.2...v0.9.0) (2020-06-19)
|
6
|
+
|
7
|
+
|
8
|
+
### Features
|
9
|
+
|
10
|
+
* add option to reverse order of channel items ([#82](https://github.com/gildesmarais/html2rss/issues/82)) ([2019977](https://github.com/gildesmarais/html2rss/commit/2019977b09fdc29c427b8b7e478857ca3f9f7027)), closes [#80](https://github.com/gildesmarais/html2rss/issues/80)
|
11
|
+
* require at least ruby version 2.5 ([#85](https://github.com/gildesmarais/html2rss/issues/85)) ([0ff6ee3](https://github.com/gildesmarais/html2rss/commit/0ff6ee355a87331f8afbfbdac1496cdfa36f3e5f))
|
12
|
+
* support ruby 2.7 ([#75](https://github.com/gildesmarais/html2rss/issues/75)) ([56ddbbe](https://github.com/gildesmarais/html2rss/commit/56ddbbe7c921e26057511754cf058fdd69fc9e0c))
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
## [0.8.2](https://github.com/gildesmarais/html2rss/compare/v0.8.1...v0.8.2) (2019-11-09)
|
17
|
+
|
18
|
+
|
19
|
+
### Features
|
20
|
+
|
21
|
+
* improve url handling by sanitizing and normalizing urls ([#70](https://github.com/gildesmarais/html2rss/issues/70)) ([02cd551](https://github.com/gildesmarais/html2rss/commit/02cd551f4411b050bbb6e4ed942d7b3d707cd86a))
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
## [0.8.1](https://github.com/gildesmarais/html2rss/compare/v0.8.0...v0.8.1) (2019-11-08)
|
26
|
+
|
27
|
+
|
28
|
+
### Features
|
29
|
+
|
30
|
+
* **config:** improve generation of channel.title from channel.url ([#68](https://github.com/gildesmarais/html2rss/issues/68)) ([bc8ecbb](https://github.com/gildesmarais/html2rss/commit/bc8ecbb9623ce08a6cd067da1cb5fd0a996a9d40))
|
31
|
+
* **parse_uri:** squish url to not fail on url with padding spaces ([#67](https://github.com/gildesmarais/html2rss/issues/67)) ([e349449](https://github.com/gildesmarais/html2rss/commit/e34944995e669c0f8dd6a1e78acb31bd3db9fcf6))
|
32
|
+
* auto generate nicer channel's title and description ([#63](https://github.com/gildesmarais/html2rss/issues/63)) ([6db28f6](https://github.com/gildesmarais/html2rss/commit/6db28f67a99b893fb09d7f8d337027a5a48dbe85))
|
33
|
+
* change default ttl to 360 ([#65](https://github.com/gildesmarais/html2rss/issues/65)) ([605c8db](https://github.com/gildesmarais/html2rss/commit/605c8db4f74329128bd45961e2c1e5fa344924a5))
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
# [0.8.0](https://github.com/gildesmarais/html2rss/compare/v0.7.0...v0.8.0) (2019-11-02)
|
38
|
+
|
39
|
+
|
40
|
+
### Features
|
41
|
+
|
42
|
+
* **post_processors:** add markdown to html ([#54](https://github.com/gildesmarais/html2rss/issues/54)) ([cdf77b8](https://github.com/gildesmarais/html2rss/commit/cdf77b8696eebed7a5cffda7cfd75ddc64db364b))
|
43
|
+
* **post_processors:** support annotated tokens ([#62](https://github.com/gildesmarais/html2rss/issues/62)) ([b57bd7b](https://github.com/gildesmarais/html2rss/commit/b57bd7b4cd22c8c51e8b2f526187b5997d77b25c)), closes [#56](https://github.com/gildesmarais/html2rss/issues/56)
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
# [0.7.0](https://github.com/gildesmarais/html2rss/compare/v0.6.0...v0.7.0) (2019-10-28)
|
48
|
+
|
49
|
+
|
50
|
+
### Features
|
51
|
+
|
52
|
+
* **post_processors:** add gsub ([#53](https://github.com/gildesmarais/html2rss/issues/53)) ([de268ae](https://github.com/gildesmarais/html2rss/commit/de268ae64f2f946103523c66919806b50c6d031a))
|
53
|
+
* support enclosure on items ([#52](https://github.com/gildesmarais/html2rss/issues/52)) ([80a30a1](https://github.com/gildesmarais/html2rss/commit/80a30a1944e9a256fc9b5497589b9e20a098c444)), closes [#50](https://github.com/gildesmarais/html2rss/issues/50)
|
54
|
+
* **postprocessor:** always wrap img tag in an a tag in sanitze html ([#51](https://github.com/gildesmarais/html2rss/issues/51)) ([6c7fb88](https://github.com/gildesmarais/html2rss/commit/6c7fb88c9c87fb977645b21a7b13e70367b10608))
|
55
|
+
* handle json array response ([#49](https://github.com/gildesmarais/html2rss/issues/49)) ([288c2af](https://github.com/gildesmarais/html2rss/commit/288c2af09909d5c54109f8ce6a566914dd188b0b))
|
56
|
+
* use zeitwerk for autoloading ([#47](https://github.com/gildesmarais/html2rss/issues/47)) ([bce523d](https://github.com/gildesmarais/html2rss/commit/bce523d64a58c52490a3326c3f85beba2e46088f))
|
2
57
|
|
3
58
|
|
4
59
|
|
@@ -7,14 +62,14 @@
|
|
7
62
|
|
8
63
|
### Bug Fixes
|
9
64
|
|
10
|
-
* **specs:** simplecov does not exclude files from spec/ ([#44](https://github.com/gildesmarais/html2rss/issues/44)) ([b0ca780](https://github.com/gildesmarais/html2rss/commit/
|
65
|
+
* **specs:** simplecov does not exclude files from spec/ ([#44](https://github.com/gildesmarais/html2rss/issues/44)) ([b0ca780](https://github.com/gildesmarais/html2rss/commit/b0ca780ebb69185ef7e534e1d36bd606073dc471))
|
11
66
|
|
12
67
|
|
13
68
|
### Features
|
14
69
|
|
15
|
-
*
|
16
|
-
*
|
17
|
-
*
|
70
|
+
* memoize ItemExtractor lookups ([#45](https://github.com/gildesmarais/html2rss/issues/45)) ([e88321c](https://github.com/gildesmarais/html2rss/commit/e88321c52b40c3f1581a576ae50e7f3416df4772))
|
71
|
+
* support setting of request headers in feed config ([#41](https://github.com/gildesmarais/html2rss/issues/41)) ([a7aca11](https://github.com/gildesmarais/html2rss/commit/a7aca11a708c4f3a3a5f9f6511c0c1e86ec63595)), closes [#38](https://github.com/gildesmarais/html2rss/issues/38)
|
72
|
+
* **ci:** run rubocop on ci ([#40](https://github.com/gildesmarais/html2rss/issues/40)) ([f4ec8d1](https://github.com/gildesmarais/html2rss/commit/f4ec8d15681c8a232dbad6a933f7877aec33cc4f))
|
18
73
|
|
19
74
|
|
20
75
|
|
@@ -27,7 +82,7 @@
|
|
27
82
|
|
28
83
|
### Bug Fixes
|
29
84
|
|
30
|
-
* rss contains additional categories ([#39](https://github.com/gildesmarais/html2rss/issues/39)) ([ed164ef](https://github.com/gildesmarais/html2rss/commit/
|
85
|
+
* rss contains additional categories ([#39](https://github.com/gildesmarais/html2rss/issues/39)) ([ed164ef](https://github.com/gildesmarais/html2rss/commit/ed164efdf5e2775f30130d0949d96ecee4f9cea0))
|
31
86
|
|
32
87
|
|
33
88
|
|
@@ -36,7 +91,7 @@
|
|
36
91
|
|
37
92
|
### Features
|
38
93
|
|
39
|
-
* support JSON ([#37](https://github.com/gildesmarais/html2rss/issues/37)) ([d258f73](https://github.com/gildesmarais/html2rss/commit/
|
94
|
+
* support JSON ([#37](https://github.com/gildesmarais/html2rss/issues/37)) ([d258f73](https://github.com/gildesmarais/html2rss/commit/d258f73f30587e48f5854013fa0e67c88bb23a52))
|
40
95
|
|
41
96
|
|
42
97
|
|
@@ -45,12 +100,12 @@
|
|
45
100
|
|
46
101
|
### Bug Fixes
|
47
102
|
|
48
|
-
* building absolute url fails when a fragment is present ([#35](https://github.com/gildesmarais/html2rss/issues/35)) ([c1b6dc7](https://github.com/gildesmarais/html2rss/commit/
|
103
|
+
* building absolute url fails when a fragment is present ([#35](https://github.com/gildesmarais/html2rss/issues/35)) ([c1b6dc7](https://github.com/gildesmarais/html2rss/commit/c1b6dc7d72f3b93b64c81a455cfd24909de841a9))
|
49
104
|
|
50
105
|
|
51
106
|
### Features
|
52
107
|
|
53
|
-
* **postprocessors:** add html to markdown ([#34](https://github.com/gildesmarais/html2rss/issues/34)) ([6a4a462](https://github.com/gildesmarais/html2rss/commit/
|
108
|
+
* **postprocessors:** add html to markdown ([#34](https://github.com/gildesmarais/html2rss/issues/34)) ([6a4a462](https://github.com/gildesmarais/html2rss/commit/6a4a46269d0d185923f1e817141ac7901ce74784))
|
54
109
|
|
55
110
|
|
56
111
|
|
@@ -59,30 +114,30 @@
|
|
59
114
|
|
60
115
|
### Bug Fixes
|
61
116
|
|
62
|
-
* **template:** breaks when any method returns nil ([#32](https://github.com/gildesmarais/html2rss/issues/32)) ([0709958](https://github.com/gildesmarais/html2rss/commit/
|
117
|
+
* **template:** breaks when any method returns nil ([#32](https://github.com/gildesmarais/html2rss/issues/32)) ([0709958](https://github.com/gildesmarais/html2rss/commit/0709958a2bf3e5df6dbd7709b2f7734c7e9b3978))
|
63
118
|
|
64
119
|
|
65
120
|
### Features
|
66
121
|
|
67
|
-
* **parse_time:** support setting of a time_zone ([#31](https://github.com/gildesmarais/html2rss/issues/31)) ([cecbe5e](https://github.com/gildesmarais/html2rss/commit/
|
68
|
-
* **postprocessor:** add referrer-policy on img tag in sanitze html ([#24](https://github.com/gildesmarais/html2rss/issues/24)) ([a3b1d18](https://github.com/gildesmarais/html2rss/commit/
|
69
|
-
* **rubocop:** add rubocop-rspec and (auto-)fix issues ([#22](https://github.com/gildesmarais/html2rss/issues/22)) ([dd539f6](https://github.com/gildesmarais/html2rss/commit/
|
70
|
-
* **rubocop:** enable more performance cops and relax config ([#21](https://github.com/gildesmarais/html2rss/issues/21)) ([67132bb](https://github.com/gildesmarais/html2rss/commit/
|
71
|
-
* **sanitize_html:** rewrite relative urls to absolute in a and img elements ([#30](https://github.com/gildesmarais/html2rss/issues/30)) ([caf4e80](https://github.com/gildesmarais/html2rss/commit/
|
72
|
-
* **sanitze_html:** strip more attributes ([#28](https://github.com/gildesmarais/html2rss/issues/28)) ([9daa42e](https://github.com/gildesmarais/html2rss/commit/
|
122
|
+
* **parse_time:** support setting of a time_zone ([#31](https://github.com/gildesmarais/html2rss/issues/31)) ([cecbe5e](https://github.com/gildesmarais/html2rss/commit/cecbe5eb7b8586f036169480cd009c8be69b4f22)), closes [#19](https://github.com/gildesmarais/html2rss/issues/19)
|
123
|
+
* **postprocessor:** add referrer-policy on img tag in sanitze html ([#24](https://github.com/gildesmarais/html2rss/issues/24)) ([a3b1d18](https://github.com/gildesmarais/html2rss/commit/a3b1d18cc0eb4ff9c359d591357ed631e44c8dd8))
|
124
|
+
* **rubocop:** add rubocop-rspec and (auto-)fix issues ([#22](https://github.com/gildesmarais/html2rss/issues/22)) ([dd539f6](https://github.com/gildesmarais/html2rss/commit/dd539f66fa31a5735090663b0611e8ba56c7c34f))
|
125
|
+
* **rubocop:** enable more performance cops and relax config ([#21](https://github.com/gildesmarais/html2rss/issues/21)) ([67132bb](https://github.com/gildesmarais/html2rss/commit/67132bba2ac13ca7ed694e965fb8770a1f635de2))
|
126
|
+
* **sanitize_html:** rewrite relative urls to absolute in a and img elements ([#30](https://github.com/gildesmarais/html2rss/issues/30)) ([caf4e80](https://github.com/gildesmarais/html2rss/commit/caf4e80f342d32ec193868ebeacc5db989947594))
|
127
|
+
* **sanitze_html:** strip more attributes ([#28](https://github.com/gildesmarais/html2rss/issues/28)) ([9daa42e](https://github.com/gildesmarais/html2rss/commit/9daa42e774850c766299b5d85bf6e98d40cb9f6d)), closes [#26](https://github.com/gildesmarais/html2rss/issues/26)
|
73
128
|
|
74
129
|
|
75
130
|
|
76
131
|
## [0.3.3](https://github.com/gildesmarais/html2rss/compare/v0.3.2...v0.3.3) (2019-07-01)
|
77
132
|
|
78
133
|
|
134
|
+
### Features
|
79
135
|
|
80
|
-
|
136
|
+
* enable usage of multiple post processors ([#17](https://github.com/gildesmarais/html2rss/issues/17)) ([8a9f7b4](https://github.com/gildesmarais/html2rss/commit/8a9f7b439b266c92756d9198c8689cd4ba9813e8))
|
81
137
|
|
82
138
|
|
83
|
-
### Features
|
84
139
|
|
85
|
-
|
140
|
+
## [0.3.2](https://github.com/gildesmarais/html2rss/compare/v0.3.1...v0.3.2) (2019-07-01)
|
86
141
|
|
87
142
|
|
88
143
|
|
@@ -91,8 +146,8 @@
|
|
91
146
|
|
92
147
|
### Features
|
93
148
|
|
94
|
-
* handle string and symbol keys in config hashes ([#15](https://github.com/gildesmarais/html2rss/issues/15)) ([93ad824](https://github.com/gildesmarais/html2rss/commit/
|
95
|
-
* support attributes without selector, fallback to root element then ([#16](https://github.com/gildesmarais/html2rss/issues/16)) ([d99ae3d](https://github.com/gildesmarais/html2rss/commit/
|
149
|
+
* handle string and symbol keys in config hashes ([#15](https://github.com/gildesmarais/html2rss/issues/15)) ([93ad824](https://github.com/gildesmarais/html2rss/commit/93ad82488cfb0fc497c443d4b11dc12b8eeb50e2))
|
150
|
+
* support attributes without selector, fallback to root element then ([#16](https://github.com/gildesmarais/html2rss/issues/16)) ([d99ae3d](https://github.com/gildesmarais/html2rss/commit/d99ae3d3d91ffc0a8549fd0ab6926e136126489b))
|
96
151
|
|
97
152
|
|
98
153
|
|
@@ -101,8 +156,8 @@
|
|
101
156
|
|
102
157
|
### Features
|
103
158
|
|
104
|
-
* add rubocop and update development deps ([#13](https://github.com/gildesmarais/html2rss/issues/13)) ([6e06329](https://github.com/gildesmarais/html2rss/commit/
|
105
|
-
* change Config constructor arguments ([#14](https://github.com/gildesmarais/html2rss/issues/14)) ([21f8746](https://github.com/gildesmarais/html2rss/commit/
|
159
|
+
* add rubocop and update development deps ([#13](https://github.com/gildesmarais/html2rss/issues/13)) ([6e06329](https://github.com/gildesmarais/html2rss/commit/6e063296d05f5cbe7ee8699e11ae7c812c519814))
|
160
|
+
* change Config constructor arguments ([#14](https://github.com/gildesmarais/html2rss/issues/14)) ([21f8746](https://github.com/gildesmarais/html2rss/commit/21f8746e74d2a7c74611fb3c4ca24d5505915f73))
|
106
161
|
|
107
162
|
|
108
163
|
|
@@ -111,7 +166,7 @@
|
|
111
166
|
|
112
167
|
### Bug Fixes
|
113
168
|
|
114
|
-
* generates invalid feeds ([00309e7](https://github.com/gildesmarais/html2rss/commit/
|
169
|
+
* generates invalid feeds ([00309e7](https://github.com/gildesmarais/html2rss/commit/00309e7ba9a35ef0272b72b75c4410c47413a2dc))
|
115
170
|
|
116
171
|
|
117
172
|
|
@@ -120,7 +175,7 @@
|
|
120
175
|
|
121
176
|
### Features
|
122
177
|
|
123
|
-
* **category:** support item categories ([#10](https://github.com/gildesmarais/html2rss/issues/10)) ([4572bcb](https://github.com/gildesmarais/html2rss/commit/
|
178
|
+
* **category:** support item categories ([#10](https://github.com/gildesmarais/html2rss/issues/10)) ([4572bcb](https://github.com/gildesmarais/html2rss/commit/4572bcb33fc73a2d0cfe27afa2ba51310f71780f)), closes [#2](https://github.com/gildesmarais/html2rss/issues/2)
|
124
179
|
|
125
180
|
|
126
181
|
|
@@ -129,38 +184,38 @@
|
|
129
184
|
|
130
185
|
### Bug Fixes
|
131
186
|
|
132
|
-
*
|
133
|
-
*
|
134
|
-
*
|
135
|
-
*
|
187
|
+
* **config:** feed generation fails ([7dd5586](https://github.com/gildesmarais/html2rss/commit/7dd55869f79b1de76c004bf0e82d13b16b5b3f0d))
|
188
|
+
* **parse_uri:** handle non-absolute paths ([9215025](https://github.com/gildesmarais/html2rss/commit/921502574e4436d65a30e1d34b9b31f238336247))
|
189
|
+
* handling of url query breaks processing ([ace289e](https://github.com/gildesmarais/html2rss/commit/ace289e911b69cb92433cac6f1ca0403715d8286))
|
190
|
+
* only set supported attributes on rss item ([dae0d8e](https://github.com/gildesmarais/html2rss/commit/dae0d8e75541e810275e789a23971a61e60a2154))
|
136
191
|
|
137
192
|
|
138
193
|
### Features
|
139
194
|
|
140
|
-
*
|
141
|
-
*
|
142
|
-
* **item_extractor:**
|
143
|
-
* **
|
144
|
-
* **
|
145
|
-
* **
|
146
|
-
* **
|
147
|
-
* add
|
148
|
-
*
|
149
|
-
*
|
195
|
+
* add logo [skip ci] ([857a55f](https://github.com/gildesmarais/html2rss/commit/857a55fd8c932930d96c47c5abe57f0507356df1))
|
196
|
+
* require updated to be present ([e1bedae](https://github.com/gildesmarais/html2rss/commit/e1bedaecc91e874fe24e96000612abb9cd11e9fe))
|
197
|
+
* **item_extractor:** add static and current_time ([25043dc](https://github.com/gildesmarais/html2rss/commit/25043dcbd8f0f4901202f4a2f66b355ac48825a8))
|
198
|
+
* **item_extractor:** handle absolute urls ([f96be00](https://github.com/gildesmarais/html2rss/commit/f96be00857bdcded02d52dd62ec22b9b52c803ed))
|
199
|
+
* **item_extractor:** text strips strings ([f598285](https://github.com/gildesmarais/html2rss/commit/f59828593dca663bdbe8699392594e2d18658f8f))
|
200
|
+
* **post_processing:** add configurable post_processing ([#5](https://github.com/gildesmarais/html2rss/issues/5)) ([4cf6cac](https://github.com/gildesmarais/html2rss/commit/4cf6cacac00bd3c0c53d584ca11274ba24b03ef7)), closes [#1](https://github.com/gildesmarais/html2rss/issues/1)
|
201
|
+
* **post_processor:** add substring ([6f2a32a](https://github.com/gildesmarais/html2rss/commit/6f2a32a6304ef9956577711173de681daf93f55f))
|
202
|
+
* **postprocessors:** add Template ([#6](https://github.com/gildesmarais/html2rss/issues/6)) ([f1db542](https://github.com/gildesmarais/html2rss/commit/f1db542e8c1e9e09a066a3cd6c8514a6ca0aa871)), closes [#4](https://github.com/gildesmarais/html2rss/issues/4)
|
203
|
+
* **sanitize_html:** add target="_blank" to anchors ([975a73b](https://github.com/gildesmarais/html2rss/commit/975a73bfd396ba5942bc0ea80eebd14cc37ad776))
|
204
|
+
* do not fail on invalid item, just skip it ([3b83d71](https://github.com/gildesmarais/html2rss/commit/3b83d715619abbc33b124de1945d17cb0dc7edb0))
|
150
205
|
|
151
206
|
|
152
207
|
|
153
|
-
## [0.0.1](https://github.com/gildesmarais/html2rss/compare/
|
208
|
+
## [0.0.1](https://github.com/gildesmarais/html2rss/compare/219cac849460eae3262108d886c60b9b08385a3d...v0.0.1) (2018-06-03)
|
154
209
|
|
155
210
|
|
156
211
|
### Bug Fixes
|
157
212
|
|
158
|
-
* gem's version and readme-typos ([eab39d9](https://github.com/gildesmarais/html2rss/commit/
|
213
|
+
* gem's version and readme-typos ([eab39d9](https://github.com/gildesmarais/html2rss/commit/eab39d981efda19d4ed66d7427d240b083eb2ae4))
|
159
214
|
|
160
215
|
|
161
216
|
### Features
|
162
217
|
|
163
|
-
* **html2rss:** add initial version of the html2rss gem ([219cac8](https://github.com/gildesmarais/html2rss/commit/
|
218
|
+
* **html2rss:** add initial version of the html2rss gem ([219cac8](https://github.com/gildesmarais/html2rss/commit/219cac849460eae3262108d886c60b9b08385a3d))
|
164
219
|
|
165
220
|
|
166
221
|
|