Guest User

nokogiri parse demo

a guest
Mar 13th, 2013
46
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [0] => Array
  2. (
  3. [id] => pim143367214
  4. [class] => postInfoM mobile
  5. [span] => Array
  6. (
  7. [0] => Array
  8. (
  9. [class] => nameBlock
  10. [span] => Array
  11. (
  12. [0] => Array
  13. (
  14. [class] => name
  15. [#text] => Array
  16. (
  17. [0] => РђРЅРѕРЅРёРј
  18. )
  19.  
  20. )
  21.  
  22. [1] => Array
  23. (
  24. [class] => subject
  25. )
  26.  
  27. )
  28.  
  29. [#text] => Array
  30. (
  31. [0] => В В
  32. )
  33.  
  34. [br] => Array
  35. (
  36. [0] => Array
  37. (
  38. )
  39.  
  40. )
  41.  
  42. )
  43.  
  44. [1] => Array
  45. (
  46. [data-utc] => 1339778953
  47. [class] => dateTime postNum
  48. [#text] => Array
  49. (
  50. [0] => Пнд 18 Фев 2013 20:50:56
  51. )
  52.  
  53. [br] => Array
  54. (
  55. [0] => Array
  56. (
  57. )
  58.  
  59. )
  60.  
  61. [em] => Array
  62. (
  63. [0] => Array
  64. (
  65. [span] => Array
  66. (
  67. [0] => Array
  68. (
  69. [class] => reflink1
  70. [a] => Array
  71. (
  72. [0] => Array
  73. (
  74. [href] => /b/res/43659781.html#43660061
  75. [#text] => Array
  76. (
  77. [0] => в„–
  78. )
  79.  
  80. )
  81.  
  82. [1] => Array
  83. (
  84. [href] => javascript:insert('>>43660061')
  85. [onclick] => javascript:addQuickReply('43660061'); return false;
  86. [#text] => Array
  87. (
  88. [0] => 43660061
  89. )
  90.  
  91. )
  92.  
  93. )
  94.  
  95. [br] => Array
  96. (
  97. [0] => Array
  98. (
  99. )
  100.  
  101. )
  102.  
  103. [span] => Array
  104. (
  105. [0] => Array
  106. (
  107. [class] => postpanel
  108. [a] => Array
  109. (
  110. [0] => Array
  111. (
  112. [class] => postbtn_rep
  113. [href] => #
  114. [onclick] => javascript:addQuickReply('43660061'); return false;
  115. )
  116.  
  117. )
  118.  
  119. )
  120.  
  121. )
  122.  
  123. [#text] => Array
  124. (
  125. [0] => В
  126. )
  127.  
  128. )
  129.  
  130. )
  131.  
  132. )
  133.  
  134. )
  135.  
  136. )
  137.  
  138. )
  139.  
  140. )
RAW Paste Data