feed_processor_utils 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YmNmMjVmMjA2YTQ5NjFlYjJjZjVmYjgxODNjZTc1ZWUyZDRjMzU1MA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MTY3NGZjMmRiYzU4MjBmZTc4YzQxNmEwYzcxMWQwMjdmYTg4ZWQyOQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MWI0Y2ZmYTFhZGMxNmJhYmZlZDEzMjUyNzJiNjRiNDM2MGVhODkzZDAzMDhm
|
10
|
+
MDRlZWM0MTZkY2JiOTU4NGUxYWU2MDEwMzRjZGRhZGFkYTRiNDE2ZjM0NDlj
|
11
|
+
OWU1Y2ZhNmM5YzJhNmEzZWMzYTA3YjI2NDg0MDdlNDU2Njk3MGM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
N2JiMzUwZWI2YjU3NjU2ZGNkYzM3MjEyZjcwMTAzZmVlZjRhN2IzODhmYjJk
|
14
|
+
MjBhZDA2NGRjOTFiN2I0ZTRmMGRiOGFkOTBjZTRkMWEwMGE2YjVkZjJhNzA1
|
15
|
+
ODRmMWRhOWY2NjNiOTZmYmJlODk5YjcwOTBhYzM1MWU4MzY3NWQ=
|
@@ -38,16 +38,12 @@
|
|
38
38
|
:selectors:
|
39
39
|
- img.entry-image
|
40
40
|
:attribute: src
|
41
|
-
:sky_image:
|
42
|
-
:selectors:
|
43
|
-
- img.image
|
44
|
-
:attribute: src
|
45
41
|
:lazy_image_tags:
|
46
42
|
:collection: true
|
47
43
|
:selectors:
|
48
44
|
- img
|
49
45
|
:attribute: data-src
|
50
|
-
:
|
46
|
+
:images_in_text:
|
51
47
|
:collection: true
|
52
48
|
:selectors:
|
53
49
|
- img
|
@@ -66,11 +66,11 @@ module FeedProcessorUtils
|
|
66
66
|
image_urls = []
|
67
67
|
domain = URI.parse(item_data[:url] || item_data[:id])
|
68
68
|
specific_images = if customized == "default"
|
69
|
-
[:og_image, :image
|
69
|
+
[:og_image, :image]
|
70
70
|
elsif customized == "og_image"
|
71
71
|
[:og_image]
|
72
72
|
elsif customized == "html_images"
|
73
|
-
[:image
|
73
|
+
[:image]
|
74
74
|
else
|
75
75
|
[]
|
76
76
|
end
|