dynarex-blog 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dynarex-blog.rb +1 -1
- metadata +1 -1
data/lib/dynarex-blog.rb
CHANGED
@@ -141,7 +141,7 @@ class DynarexBlog
|
|
141
141
|
x1 = (number - 1) * 10
|
142
142
|
x2 = x1 + 9
|
143
143
|
|
144
|
-
a = XPath.match(doc.root,'records/entry')
|
144
|
+
a = XPath.match(doc.root,'records/entry')[x1..x2]
|
145
145
|
|
146
146
|
xpath_ids = "entry[%s]" % a.map{|x| x.text('id').to_s}.map{|x| "@id='%s'" % x}.join(' or ')
|
147
147
|
|