dynarex-blog 0.1.9 → 0.1.10
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
@@ -139,7 +139,7 @@ class DynarexBlog
|
|
139
139
|
|
140
140
|
doc = Document.new File.open(@file_path + lookup,'r').read
|
141
141
|
x1 = (number - 1) * 10
|
142
|
-
x2 = x1 +
|
142
|
+
x2 = x1 + 11
|
143
143
|
|
144
144
|
a = XPath.match(doc.root,'records/entry').reverse[x1..x2]
|
145
145
|
xpath_ids = "entry[%s]" % a.map{|x| x.attribute('id').value}.map{|x| "@id='%s'" % x}.join(' or ')
|