polyrex-feed-reader 0.5.8 → 0.5.9
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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/dynarex-feed.xsl +22 -71
- data/lib/feeds.xsl +3 -3
- metadata +2 -2
- 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: 56162a41f6bec6c7a0759ee30912a160540ac9ab
|
|
4
|
+
data.tar.gz: 4c4420a0455c303e92811288c577845ec999ba6b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 42d1ac5ca854131e34bf455f53c5167d659e1bcab3bddb70393ab64f6867c3bf83ca53083777e6ced13bc5fdee3749289e0d9ae1cc2da8e981ddeb4f1bb5f500
|
|
7
|
+
data.tar.gz: e6db9cf933fa4d194877b1db93f08bd3c453d2e030b8c121ff738ebe79a6e7b7ed518684e989a62f3d30847617f3489f1c6a637a0e72c64b753b945b04a62246
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/lib/dynarex-feed.xsl
CHANGED
|
@@ -1,73 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
body {background-color: #aa5}
|
|
2
|
+
|
|
3
|
+
#records {background-color: #888;}
|
|
4
|
+
/*#records>ul{list-style-type: none;}*/
|
|
5
|
+
#records>ul:first-child {
|
|
6
|
+
background-color: #acc;
|
|
7
|
+
-moz-column-count: 4; -moz-column-gap: 1em; -moz-column-rule: 1px solid black; -webkit-column-count: 4; -webkit-column-gap: 1em; -webkit-column-rule: 1px solid black;
|
|
8
|
+
margin:0.7em 1.3em; padding: 0.8em;
|
|
9
|
+
}
|
|
10
|
+
#records>ul:first-child>li {margin: 0.2em; padding: 0.4em;}
|
|
11
|
+
#records>ul+ul {background-color: #ecf;list-style-type: none; margin: 0.2em; padding: 0.2em}
|
|
12
|
+
#records>ul+ul>li { background-color: #956;}
|
|
13
|
+
|
|
14
|
+
#records>ul+ul>li:nth-child(even) { background:#4b3; }
|
|
15
|
+
#records>ul+ul>li>div {
|
|
16
|
+
background-color: #9ca;
|
|
17
|
+
-moz-column-count: 3; -moz-column-gap: 1em; -moz-column-rule: 1px solid black; -webkit-column-count: 3; -webkit-column-gap: 1em; -webkit-column-rule: 1px solid black;
|
|
18
|
+
margin:0.7em 0.3em; padding: 0.4em;
|
|
19
|
+
|
|
20
|
+
}
|
|
21
|
+
#records>ul>li:nth-child(even)>div { background-color: #ba8; }
|
|
22
|
+
#records>ul>li>div>a>h1 {background-color: transparent; font-size: 1.0em;}
|
|
9
23
|
|
|
10
|
-
body {background-color: #aa5}
|
|
11
|
-
#records {background-color: #888;}
|
|
12
|
-
#records>ul {background-color: #ecf;list-style-type: none; margin: 0.2em; padding: 0.2em}
|
|
13
|
-
#records>ul>li { background-color: #956;}
|
|
14
24
|
|
|
15
|
-
#records>ul>li:nth-child(even) { background:#4b3; }
|
|
16
|
-
#records>ul>li>div {
|
|
17
|
-
background-color: #9ca;
|
|
18
|
-
-moz-column-count: 3; -moz-column-gap: 1em; -moz-column-rule: 1px solid black; -webkit-column-count: 3; -webkit-column-gap: 1em; -webkit-column-rule: 1px solid black;
|
|
19
|
-
margin:0.7em 0.3em; padding: 0.4em;
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
#records>ul>li:nth-child(even)>div { background-color: #ba8; }
|
|
23
|
-
#records>ul>li>div>a>h1 {background-color: transparent; font-size: 1.0em;}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
</style>
|
|
27
|
-
</head>
|
|
28
|
-
<body>
|
|
29
|
-
<div id="wrap" class="dynarex">
|
|
30
|
-
<ul>
|
|
31
|
-
<li><a href="/">home</a></li>
|
|
32
|
-
<li><a href="/feeds/">feeds</a></li>
|
|
33
|
-
</ul>
|
|
34
|
-
<xsl:apply-templates select="summary"/>
|
|
35
|
-
<xsl:apply-templates select="records"/>
|
|
36
|
-
</div>
|
|
37
|
-
</body>
|
|
38
|
-
</html>
|
|
39
|
-
</xsl:template>
|
|
40
|
-
<xsl:template match="summary">
|
|
41
|
-
<div id="summary">
|
|
42
|
-
<a href="{link}"><h1><xsl:value-of select="title" disable-output-escaping="yes"/></h1></a>
|
|
43
|
-
</div>
|
|
44
|
-
</xsl:template>
|
|
45
|
-
|
|
46
|
-
<xsl:template match="records">
|
|
47
|
-
<xsl:text>
|
|
48
|
-
</xsl:text><div id="records">
|
|
49
|
-
|
|
50
|
-
<xsl:text>
|
|
51
|
-
</xsl:text>
|
|
52
|
-
<ul><xsl:text>
|
|
53
|
-
</xsl:text>
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
<xsl:for-each select="item">
|
|
57
|
-
|
|
58
|
-
<li><div><a name="{@id}"/>
|
|
59
|
-
<a href="{link}" target="_blank"><h1><xsl:value-of select="title" disable-output-escaping="yes"/></h1></a>
|
|
60
|
-
<p><xsl:value-of select="description" disable-output-escaping="yes"/></p>
|
|
61
|
-
<p>last updated: <xsl:value-of select="date"/></p>
|
|
62
|
-
<h2>Share</h2><textarea cols="50" rows="5">[<xsl:value-of select="title" disable-output-escaping="yes"/>](<xsl:value-of select="link" disable-output-escaping="yes"/>) via <xsl:value-of select="../../summary/title"/></textarea>
|
|
63
|
-
</div>
|
|
64
|
-
</li>
|
|
65
|
-
|
|
66
|
-
</xsl:for-each>
|
|
67
|
-
|
|
68
|
-
</ul><xsl:text>
|
|
69
|
-
</xsl:text>
|
|
70
|
-
</div>
|
|
71
|
-
</xsl:template>
|
|
72
|
-
|
|
73
|
-
</xsl:stylesheet>
|
data/lib/feeds.xsl
CHANGED
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
<xsl:template match='feeds/summary'>
|
|
53
|
-
<h1><xsl:value-of select='title'/></h1>
|
|
53
|
+
<a href="javascript:window.location.reload()"><h1><xsl:value-of select='title'/></h1></a>
|
|
54
54
|
</xsl:template>
|
|
55
55
|
|
|
56
56
|
<xsl:template match='records/column'>
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
</xsl:template>
|
|
90
90
|
|
|
91
91
|
<xsl:template match='feed/summary'>
|
|
92
|
-
<a href="{substring-before(xhtml,'.')}.html" target="_blank"><h3><xsl:value-of select='title'/></h3></a>
|
|
92
|
+
<a href="{substring-before(xhtml,'.')}.html" target="_blank" rel="nofollow"><h3><xsl:value-of select='title'/></h3></a>
|
|
93
93
|
<span><xsl:value-of select='last_modified'/></span>
|
|
94
94
|
</xsl:template>
|
|
95
95
|
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
</xsl:template>
|
|
102
102
|
|
|
103
103
|
<xsl:template match='item/summary'>
|
|
104
|
-
<a href="{local_link}" target="_blank"><h4><xsl:value-of disable-output-escaping="yes" select='title'/></h4></a>
|
|
104
|
+
<a href="{local_link}" target="_blank" rel="nofollow"><h4><xsl:value-of disable-output-escaping="yes" select='title'/></h4></a>
|
|
105
105
|
<p><xsl:value-of disable-output-escaping="yes" select='description'/></p>
|
|
106
106
|
</xsl:template>
|
|
107
107
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: polyrex-feed-reader
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Robertson
|
|
@@ -29,7 +29,7 @@ cert_chain:
|
|
|
29
29
|
LxhpHfLSRfOWDFimU0YGVs8dISSHOneULhblAYTTb7tvv2Zr8wG/bdlLhWuwoz23
|
|
30
30
|
L5EDjzznPMmVNG60mdktue6PKdOEFp7N
|
|
31
31
|
-----END CERTIFICATE-----
|
|
32
|
-
date: 2013-12-
|
|
32
|
+
date: 2013-12-17 00:00:00.000000000 Z
|
|
33
33
|
dependencies:
|
|
34
34
|
- !ruby/object:Gem::Dependency
|
|
35
35
|
name: polyrex
|
metadata.gz.sig
CHANGED
|
Binary file
|