rss_creator 0.2.8 → 0.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/rss_creator.rb +3 -3
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20fc7d504795b90b2be615f4aff710e965e4eaad
|
4
|
+
data.tar.gz: c38d4b52569068d8319d183cf9d74c3bd863e3f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 217ea806ddeeab973b95c8336fa42ead93374f874f3b35eb2deedeb1535687a24e133aa39b2f5bb497aa312f5ee1f926e969191d99c06f43c0e1e7af35b6919d
|
7
|
+
data.tar.gz: 96d531309efa873bdabc547040cdc2c08c09fecde5d6aa495c64fd45e093b99e28ff5d6aa3a81ce42c4fbd14540eb15d8f68dfba03885c9b1b90ebf979a5f6be
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/rss_creator.rb
CHANGED
@@ -20,18 +20,18 @@ class RSScreator
|
|
20
20
|
@dx = rtd.to_dynarex
|
21
21
|
|
22
22
|
@dx.default_key = 'uid'
|
23
|
-
|
23
|
+
|
24
24
|
@title = @dx.title
|
25
25
|
@description = @dx.description
|
26
26
|
@link = @dx.link
|
27
|
-
@dx.save File.join(File.dirname(filepath), 'raw.xml')
|
28
27
|
|
29
28
|
else
|
30
29
|
@dx = Dynarex.new 'channel[title, description, link]/' + \
|
31
30
|
'item(title, link, description, date)'
|
32
31
|
@dx.order = 'descending'
|
33
32
|
end
|
34
|
-
|
33
|
+
|
34
|
+
@dx.xslt = dx_xslt if dx_xslt
|
35
35
|
@dx.xslt_schema = 'channel[title:title,description:description,' + \
|
36
36
|
'link:link]/item(title:title,description:description,' + \
|
37
37
|
'link:link,pubDate:date)'
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|