Skip to content
This repository
  • 7 commits
  • 816 files changed
  • 0 comments
  • 2 contributors
Jul 15, 2007
Ryan Parman Fixed an issue affecting get_id() (specifically __toString()) where G…
…UIDs were changing instead of remaining the same. Pushing the 1.0 release.
3b8bcde
Ryan Parman Branched 1.0. f2d1c7e
Jul 17, 2007
Ryan Parman Apparently, Media RSS support was broken between RC2 and RC3 for encl…
…osures that are supposed to inherit Media RSS associations, likely due to some old code replacing newer code. Patched on the 1.0 branch and the trunk. Renamed the trunk "Blackberry".
e6188aa
Jul 18, 2007
Geoffrey Sneddon gsnedders Backport r811 to 1.0 9eb136e
Geoffrey Sneddon gsnedders Add = to branch/trunk. Readd the fix in r807 which Skyzyx removed on …
…trunk in r810.
062ec00
Jul 23, 2007
Ryan Parman Releasing 1.0.1 7953438
Sep 27, 2009
Ryan Parman Migrating the releases folder to the tags folder. c97f47d

Showing 816 changed files with 113 additions and 5,632 deletions. Show diff stats Hide diff stats

  1. +2 9 demo/index.php
  2. +28 21 demo/multifeeds.php
  3. +83 19 simplepie.inc
  4. +0 1  test/absolutize/RFC3986.5.4/README
  5. +0 16 test/absolutize/RFC3986.5.4/abnormal/1.php
  6. +0 16 test/absolutize/RFC3986.5.4/abnormal/10.php
  7. +0 16 test/absolutize/RFC3986.5.4/abnormal/11.php
  8. +0 16 test/absolutize/RFC3986.5.4/abnormal/12.php
  9. +0 16 test/absolutize/RFC3986.5.4/abnormal/13.php
  10. +0 16 test/absolutize/RFC3986.5.4/abnormal/14.php
  11. +0 16 test/absolutize/RFC3986.5.4/abnormal/15.php
  12. +0 16 test/absolutize/RFC3986.5.4/abnormal/16.php
  13. +0 16 test/absolutize/RFC3986.5.4/abnormal/17.php
  14. +0 16 test/absolutize/RFC3986.5.4/abnormal/18.php
  15. +0 16 test/absolutize/RFC3986.5.4/abnormal/19.php
  16. +0 16 test/absolutize/RFC3986.5.4/abnormal/2.php
  17. +0 16 test/absolutize/RFC3986.5.4/abnormal/3.php
  18. +0 16 test/absolutize/RFC3986.5.4/abnormal/4.php
  19. +0 16 test/absolutize/RFC3986.5.4/abnormal/5.php
  20. +0 16 test/absolutize/RFC3986.5.4/abnormal/6.php
  21. +0 16 test/absolutize/RFC3986.5.4/abnormal/7.php
  22. +0 16 test/absolutize/RFC3986.5.4/abnormal/8.php
  23. +0 16 test/absolutize/RFC3986.5.4/abnormal/9.php
  24. +0 21 test/absolutize/RFC3986.5.4/base.php
  25. +0 16 test/absolutize/RFC3986.5.4/normal/1.php
  26. +0 16 test/absolutize/RFC3986.5.4/normal/10.php
  27. +0 16 test/absolutize/RFC3986.5.4/normal/11.php
  28. +0 16 test/absolutize/RFC3986.5.4/normal/12.php
  29. +0 16 test/absolutize/RFC3986.5.4/normal/13.php
  30. +0 16 test/absolutize/RFC3986.5.4/normal/14.php
  31. +0 16 test/absolutize/RFC3986.5.4/normal/15.php
  32. +0 16 test/absolutize/RFC3986.5.4/normal/16.php
  33. +0 16 test/absolutize/RFC3986.5.4/normal/17.php
  34. +0 16 test/absolutize/RFC3986.5.4/normal/18.php
  35. +0 16 test/absolutize/RFC3986.5.4/normal/19.php
  36. +0 16 test/absolutize/RFC3986.5.4/normal/2.php
  37. +0 16 test/absolutize/RFC3986.5.4/normal/20.php
  38. +0 16 test/absolutize/RFC3986.5.4/normal/21.php
  39. +0 16 test/absolutize/RFC3986.5.4/normal/22.php
  40. +0 16 test/absolutize/RFC3986.5.4/normal/23.php
  41. +0 16 test/absolutize/RFC3986.5.4/normal/3.php
  42. +0 16 test/absolutize/RFC3986.5.4/normal/4.php
  43. +0 16 test/absolutize/RFC3986.5.4/normal/5.php
  44. +0 16 test/absolutize/RFC3986.5.4/normal/6.php
  45. +0 16 test/absolutize/RFC3986.5.4/normal/7.php
  46. +0 16 test/absolutize/RFC3986.5.4/normal/8.php
  47. +0 16 test/absolutize/RFC3986.5.4/normal/9.php
  48. +0 17 test/absolutize/SPtests/bugs/274.0.php
  49. +0 17 test/absolutize/SPtests/bugs/274.1.php
  50. +0 17 test/absolutize/SPtests/bugs/274.2.php
  51. +0 17 test/absolutize/SPtests/bugs/274.3.php
  52. +0 19 test/absolutize/SPtests/bugs/579.0.php
  53. +0 17 test/absolutize/SPtests/bugs/691.0.php
  54. +0 17 test/absolutize/SPtests/bugs/691.1.php
  55. +0 17 test/absolutize/SPtests/bugs/691.2.php
  56. +0 17 test/absolutize/SPtests/bugs/691.3.php
  57. +0 17 test/absolutize/SPtests/bugs/691.4.php
  58. +0 17 test/absolutize/SPtests/bugs/691.5.php
  59. +0 17 test/absolutize/SPtests/bugs/691.6.php
  60. +0 17 test/absolutize/SPtests/bugs/691.7.php
  61. +0 17 test/absolutize/SPtests/bugs/691.8.php
  62. BIN  test/background.gif
  63. +0 16 test/date/ISO8601/1.php
  64. +0 16 test/date/ISO8601/10.php
  65. +0 16 test/date/ISO8601/11.php
  66. +0 16 test/date/ISO8601/12.php
  67. +0 16 test/date/ISO8601/13.php
  68. +0 16 test/date/ISO8601/14.php
  69. +0 16 test/date/ISO8601/15.php
  70. +0 16 test/date/ISO8601/16.php
  71. +0 16 test/date/ISO8601/2.php
  72. +0 16 test/date/ISO8601/3.php
  73. +0 16 test/date/ISO8601/4.php
  74. +0 16 test/date/ISO8601/5.php
  75. +0 21 test/date/ISO8601/6.php
  76. +0 16 test/date/ISO8601/7.php
  77. +0 16 test/date/ISO8601/8.php
  78. +0 16 test/date/ISO8601/9.php
  79. +0 1  test/date/ISO8601/README
  80. +0 16 test/date/RFC3339/1.php
  81. +0 16 test/date/RFC3339/2.php
  82. +0 16 test/date/RFC3339/3.php
  83. +0 1  test/date/RFC3339/README
  84. +0 16 test/date/SPtests/RFC822/invalid/decimal_second.php
  85. +0 16 test/date/SPtests/RFC822/invalid/four_digit_year.php
  86. +0 16 test/date/SPtests/RFC822/invalid/full_name_of_day.php
  87. +0 16 test/date/SPtests/RFC822/invalid/invalid_day.php
  88. +0 16 test/date/SPtests/RFC822/invalid/invalid_timezone.php
  89. +0 16 test/date/SPtests/RFC822/invalid/mismatch_name_of_day.php
  90. +0 16 test/date/SPtests/RFC822/valid/1.php
  91. +0 16 test/date/SPtests/RFC822/valid/10.php
  92. +0 16 test/date/SPtests/RFC822/valid/11.php
  93. +0 16 test/date/SPtests/RFC822/valid/12.php
  94. +0 16 test/date/SPtests/RFC822/valid/13.php
  95. +0 16 test/date/SPtests/RFC822/valid/14.php
  96. +0 16 test/date/SPtests/RFC822/valid/15.php
  97. +0 16 test/date/SPtests/RFC822/valid/16.php
  98. +0 16 test/date/SPtests/RFC822/valid/17.php
  99. +0 16 test/date/SPtests/RFC822/valid/18.php
  100. +0 16 test/date/SPtests/RFC822/valid/19.php
  101. +0 16 test/date/SPtests/RFC822/valid/2.php
  102. +0 16 test/date/SPtests/RFC822/valid/20.php
  103. +0 16 test/date/SPtests/RFC822/valid/21.php
  104. +0 16 test/date/SPtests/RFC822/valid/22.php
  105. +0 16 test/date/SPtests/RFC822/valid/23.php
  106. +0 16 test/date/SPtests/RFC822/valid/24.php
  107. +0 16 test/date/SPtests/RFC822/valid/25.php
  108. +0 16 test/date/SPtests/RFC822/valid/26.php
  109. +0 16 test/date/SPtests/RFC822/valid/27.php
  110. +0 16 test/date/SPtests/RFC822/valid/28.php
  111. +0 16 test/date/SPtests/RFC822/valid/29.php
  112. +0 16 test/date/SPtests/RFC822/valid/3.php
  113. +0 16 test/date/SPtests/RFC822/valid/30.php
  114. +0 16 test/date/SPtests/RFC822/valid/31.php
  115. +0 16 test/date/SPtests/RFC822/valid/32.php
  116. +0 16 test/date/SPtests/RFC822/valid/33.php
  117. +0 16 test/date/SPtests/RFC822/valid/34.php
  118. +0 16 test/date/SPtests/RFC822/valid/35.php
  119. +0 16 test/date/SPtests/RFC822/valid/36.php
  120. +0 16 test/date/SPtests/RFC822/valid/37.php
  121. +0 16 test/date/SPtests/RFC822/valid/38.php
  122. +0 16 test/date/SPtests/RFC822/valid/39.php
  123. +0 16 test/date/SPtests/RFC822/valid/4.php
  124. +0 16 test/date/SPtests/RFC822/valid/40.php
  125. +0 16 test/date/SPtests/RFC822/valid/41.php
  126. +0 16 test/date/SPtests/RFC822/valid/42.php
  127. +0 16 test/date/SPtests/RFC822/valid/43.php
  128. +0 16 test/date/SPtests/RFC822/valid/44.php
  129. +0 16 test/date/SPtests/RFC822/valid/5.php
  130. +0 16 test/date/SPtests/RFC822/valid/6.php
  131. +0 16 test/date/SPtests/RFC822/valid/7.php
  132. +0 16 test/date/SPtests/RFC822/valid/8.php
  133. +0 16 test/date/SPtests/RFC822/valid/9.php
  134. +0 16 test/date/SPtests/bugs/157.0.php
  135. +0 16 test/date/SPtests/bugs/259.0.php
  136. +0 16 test/date/W3CDTF/1.php
  137. +0 16 test/date/W3CDTF/2.php
  138. +0 1  test/date/W3CDTF/README
  139. +0 19 test/feed_copyright/SPtests/atom/0.3/dc/1.0/rights.php
  140. +0 19 test/feed_copyright/SPtests/atom/0.3/dc/1.1/rights.php
  141. +0 19 test/feed_copyright/SPtests/atom/1.0/dc/1.0/rights.php
  142. +0 19 test/feed_copyright/SPtests/atom/1.0/dc/1.1/rights.php
  143. +0 19 test/feed_copyright/SPtests/atom/1.0/rights.php
  144. +0 21 test/feed_copyright/SPtests/rss/0.90/atom/1.0/rights.php
  145. +0 21 test/feed_copyright/SPtests/rss/0.90/dc/1.0/rights.php
  146. +0 21 test/feed_copyright/SPtests/rss/0.90/dc/1.1/rights.php
  147. +0 22 test/feed_copyright/SPtests/rss/0.91-netscape/atom/1.0/rights.php
  148. +0 22 test/feed_copyright/SPtests/rss/0.91-netscape/copyright.php
  149. +0 22 test/feed_copyright/SPtests/rss/0.91-netscape/dc/1.0/rights.php
  150. +0 22 test/feed_copyright/SPtests/rss/0.91-netscape/dc/1.1/rights.php
  151. +0 21 test/feed_copyright/SPtests/rss/0.91-userland/atom/1.0/rights.php
  152. +0 21 test/feed_copyright/SPtests/rss/0.91-userland/copyright.php
  153. +0 21 test/feed_copyright/SPtests/rss/0.91-userland/dc/1.0/rights.php
  154. +0 21 test/feed_copyright/SPtests/rss/0.91-userland/dc/1.1/rights.php
  155. +0 21 test/feed_copyright/SPtests/rss/0.92/atom/1.0/rights.php
  156. +0 21 test/feed_copyright/SPtests/rss/0.92/copyright.php
  157. +0 21 test/feed_copyright/SPtests/rss/0.92/dc/1.0/rights.php
  158. +0 21 test/feed_copyright/SPtests/rss/0.92/dc/1.1/rights.php
  159. +0 21 test/feed_copyright/SPtests/rss/1.0/atom/1.0/rights.php
  160. +0 21 test/feed_copyright/SPtests/rss/1.0/dc/1.0/rights.php
  161. +0 21 test/feed_copyright/SPtests/rss/1.0/dc/1.1/rights.php
  162. +0 21 test/feed_copyright/SPtests/rss/2.0/atom/1.0/rights.php
  163. +0 21 test/feed_copyright/SPtests/rss/2.0/copyright.php
  164. +0 21 test/feed_copyright/SPtests/rss/2.0/dc/1.0/rights.php
  165. +0 21 test/feed_copyright/SPtests/rss/2.0/dc/1.1/rights.php
  166. +0 19 test/feed_description/SPtests/atom/0.3/dc/1.0/description.php
  167. +0 19 test/feed_description/SPtests/atom/0.3/dc/1.1/description.php
  168. +0 19 test/feed_description/SPtests/atom/0.3/tagline.php
  169. +0 19 test/feed_description/SPtests/atom/1.0/dc/1.0/description.php
  170. +0 19 test/feed_description/SPtests/atom/1.0/dc/1.1/description.php
  171. +0 19 test/feed_description/SPtests/atom/1.0/subtitle.php
  172. +0 21 test/feed_description/SPtests/rss/0.90/atom/0.3/tagline.php
  173. +0 21 test/feed_description/SPtests/rss/0.90/atom/1.0/subtitle.php
  174. +0 21 test/feed_description/SPtests/rss/0.90/dc/1.0/description.php
  175. +0 21 test/feed_description/SPtests/rss/0.90/dc/1.1/description.php
  176. +0 21 test/feed_description/SPtests/rss/0.90/description.php
  177. +0 22 test/feed_description/SPtests/rss/0.91-netscape/atom/0.3/tagline.php
  178. +0 22 test/feed_description/SPtests/rss/0.91-netscape/atom/1.0/subtitle.php
  179. +0 22 test/feed_description/SPtests/rss/0.91-netscape/dc/1.0/description.php
  180. +0 22 test/feed_description/SPtests/rss/0.91-netscape/dc/1.1/description.php
  181. +0 22 test/feed_description/SPtests/rss/0.91-netscape/description.php
  182. +0 21 test/feed_description/SPtests/rss/0.91-userland/atom/0.3/tagline.php
  183. +0 21 test/feed_description/SPtests/rss/0.91-userland/atom/1.0/subtitle.php
  184. +0 21 test/feed_description/SPtests/rss/0.91-userland/dc/1.0/description.php
  185. +0 21 test/feed_description/SPtests/rss/0.91-userland/dc/1.1/description.php
  186. +0 21 test/feed_description/SPtests/rss/0.91-userland/description.php
  187. +0 21 test/feed_description/SPtests/rss/0.92/atom/0.3/tagline.php
  188. +0 21 test/feed_description/SPtests/rss/0.92/atom/1.0/subtitle.php
  189. +0 21 test/feed_description/SPtests/rss/0.92/dc/1.0/description.php
  190. +0 21 test/feed_description/SPtests/rss/0.92/dc/1.1/description.php
  191. +0 21 test/feed_description/SPtests/rss/0.92/description.php
  192. +0 21 test/feed_description/SPtests/rss/1.0/atom/0.3/tagline.php
  193. +0 21 test/feed_description/SPtests/rss/1.0/atom/1.0/subtitle.php
  194. +0 21 test/feed_description/SPtests/rss/1.0/dc/1.0/description.php
  195. +0 21 test/feed_description/SPtests/rss/1.0/dc/1.1/description.php
  196. +0 21 test/feed_description/SPtests/rss/1.0/description.php
  197. +0 21 test/feed_description/SPtests/rss/2.0/atom/0.3/tagline.php
  198. +0 21 test/feed_description/SPtests/rss/2.0/atom/1.0/subtitle.php
  199. +0 21 test/feed_description/SPtests/rss/2.0/dc/1.0/description.php
  200. +0 21 test/feed_description/SPtests/rss/2.0/dc/1.1/description.php
  201. +0 21 test/feed_description/SPtests/rss/2.0/description.php
  202. +0 19 test/feed_image_height/SPtests/atom/1.0/icon-default.php
  203. +0 19 test/feed_image_height/SPtests/atom/1.0/logo-default.php
  204. +0 21 test/feed_image_height/SPtests/rss/0.90/atom/1.0/icon-default.php
  205. +0 21 test/feed_image_height/SPtests/rss/0.90/atom/1.0/logo-default.php
  206. +0 21 test/feed_image_height/SPtests/rss/0.90/url-default.php
  207. +0 22 test/feed_image_height/SPtests/rss/0.91-netscape/atom/1.0/icon-default.php
  208. +0 22 test/feed_image_height/SPtests/rss/0.91-netscape/atom/1.0/logo-default.php
  209. +0 24 test/feed_image_height/SPtests/rss/0.91-netscape/height.php
  210. +0 24 test/feed_image_height/SPtests/rss/0.91-netscape/url-default.php
  211. +0 21 test/feed_image_height/SPtests/rss/0.91-userland/atom/1.0/icon-default.php
  212. +0 21 test/feed_image_height/SPtests/rss/0.91-userland/atom/1.0/logo-default.php
  213. +0 23 test/feed_image_height/SPtests/rss/0.91-userland/height.php
  214. +0 23 test/feed_image_height/SPtests/rss/0.91-userland/url-default.php
  215. +0 21 test/feed_image_height/SPtests/rss/0.92/atom/1.0/icon-default.php
  216. +0 21 test/feed_image_height/SPtests/rss/0.92/atom/1.0/logo-default.php
  217. +0 23 test/feed_image_height/SPtests/rss/0.92/height.php
  218. +0 23 test/feed_image_height/SPtests/rss/0.92/url-default.php
  219. +0 21 test/feed_image_height/SPtests/rss/1.0/atom/1.0/icon-default.php
  220. +0 21 test/feed_image_height/SPtests/rss/1.0/atom/1.0/logo-default.php
  221. +0 21 test/feed_image_height/SPtests/rss/1.0/url-default.php
  222. +0 21 test/feed_image_height/SPtests/rss/2.0/atom/1.0/icon-default.php
  223. +0 21 test/feed_image_height/SPtests/rss/2.0/atom/1.0/logo-default.php
  224. +0 23 test/feed_image_height/SPtests/rss/2.0/height.php
  225. +0 23 test/feed_image_height/SPtests/rss/2.0/url-default.php
  226. +0 21 test/feed_image_link/SPtests/rss/0.90/link.php
  227. +0 24 test/feed_image_link/SPtests/rss/0.91-netscape/link.php
  228. +0 23 test/feed_image_link/SPtests/rss/0.91-userland/link.php
  229. +0 23 test/feed_image_link/SPtests/rss/0.92/link.php
  230. +0 21 test/feed_image_link/SPtests/rss/1.0/link.php
  231. +0 23 test/feed_image_link/SPtests/rss/2.0/link.php
  232. +0 21 test/feed_image_title/SPtests/rss/0.90/dc/1.0/title.php
  233. +0 21 test/feed_image_title/SPtests/rss/0.90/dc/1.1/title.php
  234. +0 21 test/feed_image_title/SPtests/rss/0.90/title.php
  235. +0 24 test/feed_image_title/SPtests/rss/0.91-netscape/dc/1.0/title.php
  236. +0 24 test/feed_image_title/SPtests/rss/0.91-netscape/dc/1.1/title.php
  237. +0 24 test/feed_image_title/SPtests/rss/0.91-netscape/title.php
  238. +0 23 test/feed_image_title/SPtests/rss/0.91-userland/dc/1.0/title.php
  239. +0 23 test/feed_image_title/SPtests/rss/0.91-userland/dc/1.1/title.php
  240. +0 23 test/feed_image_title/SPtests/rss/0.91-userland/title.php
  241. +0 23 test/feed_image_title/SPtests/rss/0.92/dc/1.0/title.php
  242. +0 23 test/feed_image_title/SPtests/rss/0.92/dc/1.1/title.php
  243. +0 23 test/feed_image_title/SPtests/rss/0.92/title.php
  244. +0 21 test/feed_image_title/SPtests/rss/1.0/dc/1.0/title.php
  245. +0 21 test/feed_image_title/SPtests/rss/1.0/dc/1.1/title.php
  246. +0 21 test/feed_image_title/SPtests/rss/1.0/title.php
  247. +0 23 test/feed_image_title/SPtests/rss/2.0/dc/1.0/title.php
  248. +0 23 test/feed_image_title/SPtests/rss/2.0/dc/1.1/title.php
  249. +0 23 test/feed_image_title/SPtests/rss/2.0/title.php
  250. +0 19 test/feed_image_url/SPtests/atom/1.0/icon.php
  251. +0 19 test/feed_image_url/SPtests/atom/1.0/logo.php
  252. +0 21 test/feed_image_url/SPtests/rss/0.90/atom/1.0/icon.php
  253. +0 21 test/feed_image_url/SPtests/rss/0.90/atom/1.0/logo.php
  254. +0 21 test/feed_image_url/SPtests/rss/0.90/url.php
  255. +0 22 test/feed_image_url/SPtests/rss/0.91-netscape/atom/1.0/icon.php
  256. +0 22 test/feed_image_url/SPtests/rss/0.91-netscape/atom/1.0/logo.php
  257. +0 24 test/feed_image_url/SPtests/rss/0.91-netscape/url.php
  258. +0 21 test/feed_image_url/SPtests/rss/0.91-userland/atom/1.0/icon.php
  259. +0 21 test/feed_image_url/SPtests/rss/0.91-userland/atom/1.0/logo.php
  260. +0 23 test/feed_image_url/SPtests/rss/0.91-userland/url.php
  261. +0 21 test/feed_image_url/SPtests/rss/0.92/atom/1.0/icon.php
  262. +0 21 test/feed_image_url/SPtests/rss/0.92/atom/1.0/logo.php
  263. +0 23 test/feed_image_url/SPtests/rss/0.92/url.php
  264. +0 21 test/feed_image_url/SPtests/rss/1.0/atom/1.0/icon.php
  265. +0 21 test/feed_image_url/SPtests/rss/1.0/atom/1.0/logo.php
  266. +0 21 test/feed_image_url/SPtests/rss/1.0/url.php
  267. +0 21 test/feed_image_url/SPtests/rss/2.0/atom/1.0/icon.php
  268. +0 21 test/feed_image_url/SPtests/rss/2.0/atom/1.0/logo.php
  269. +0 23 test/feed_image_url/SPtests/rss/2.0/url.php
  270. +0 19 test/feed_image_width/SPtests/atom/1.0/icon-default.php
  271. +0 19 test/feed_image_width/SPtests/atom/1.0/logo-default.php
  272. +0 21 test/feed_image_width/SPtests/rss/0.90/atom/1.0/icon-default.php
  273. +0 21 test/feed_image_width/SPtests/rss/0.90/atom/1.0/logo-default.php
  274. +0 21 test/feed_image_width/SPtests/rss/0.90/url-default.php
  275. +0 22 test/feed_image_width/SPtests/rss/0.91-netscape/atom/1.0/icon-default.php
  276. +0 22 test/feed_image_width/SPtests/rss/0.91-netscape/atom/1.0/logo-default.php
  277. +0 24 test/feed_image_width/SPtests/rss/0.91-netscape/url-default.php
  278. +0 24 test/feed_image_width/SPtests/rss/0.91-netscape/width.php
  279. +0 21 test/feed_image_width/SPtests/rss/0.91-userland/atom/1.0/icon-default.php
  280. +0 21 test/feed_image_width/SPtests/rss/0.91-userland/atom/1.0/logo-default.php
  281. +0 23 test/feed_image_width/SPtests/rss/0.91-userland/url-default.php
  282. +0 23 test/feed_image_width/SPtests/rss/0.91-userland/width.php
  283. +0 21 test/feed_image_width/SPtests/rss/0.92/atom/1.0/icon-default.php
  284. +0 21 test/feed_image_width/SPtests/rss/0.92/atom/1.0/logo-default.php
  285. +0 23 test/feed_image_width/SPtests/rss/0.92/url-default.php
  286. +0 23 test/feed_image_width/SPtests/rss/0.92/width.php
  287. +0 21 test/feed_image_width/SPtests/rss/1.0/atom/1.0/icon-default.php
  288. +0 21 test/feed_image_width/SPtests/rss/1.0/atom/1.0/logo-default.php
  289. +0 21 test/feed_image_width/SPtests/rss/1.0/url-default.php
  290. +0 21 test/feed_image_width/SPtests/rss/2.0/atom/1.0/icon-default.php
  291. +0 21 test/feed_image_width/SPtests/rss/2.0/atom/1.0/logo-default.php
  292. +0 23 test/feed_image_width/SPtests/rss/2.0/url-default.php
  293. +0 23 test/feed_image_width/SPtests/rss/2.0/width.php
  294. +0 19 test/feed_language/SPtests/atom/0.3/dc/1.0/language.php
  295. +0 19 test/feed_language/SPtests/atom/0.3/dc/1.1/language.php
  296. +0 19 test/feed_language/SPtests/atom/0.3/xml_lang.php
  297. +0 19 test/feed_language/SPtests/atom/1.0/dc/1.0/language.php
  298. +0 19 test/feed_language/SPtests/atom/1.0/dc/1.1/language.php
  299. +0 19 test/feed_language/SPtests/atom/1.0/xml_lang.php
  300. +0 21 test/feed_language/SPtests/rss/0.90/dc/1.0/language.php
  301. +0 21 test/feed_language/SPtests/rss/0.90/dc/1.1/language.php
Sorry, we could not display the entire diff because too many files (816) changed.
11 demo/index.php
@@ -73,13 +73,6 @@
73 73 <script type="text/javascript" src="./for_the_demo/sifr-config.js"></script>
74 74 <script type="text/javascript" src="./for_the_demo/sleight.js"></script>
75 75
76   -<style type="text/css">
77   -#sp_results h4.title {
78   - padding:0 0 0 20px;
79   - background:transparent url(<?php echo $feed->get_favicon('./for_the_demo/alternate_favicon.png'); ?>) no-repeat 0 1px;
80   -}
81   -</style>
82   -
83 76 </head>
84 77
85 78 <body id="bodydemo">
@@ -126,13 +119,13 @@
126 119
127 120 <?php
128 121 // Check to see if there are more than zero errors (i.e. if there are any errors at all)
129   - if (isset($feed->error))
  122 + if ($feed->error())
130 123 {
131 124 // If so, start a <div> element with a classname so we can style it.
132 125 echo '<div class="sp_errors">' . "\r\n";
133 126
134 127 // ... and display it.
135   - echo '<p>' . htmlspecialchars($feed->error) . "</p>\r\n";
  128 + echo '<p>' . htmlspecialchars($feed->error()) . "</p>\r\n";
136 129
137 130 // Close the <div> element we opened.
138 131 echo '</div>' . "\r\n";
49 demo/multifeeds.php
@@ -6,11 +6,9 @@
6 6 Multifeeds support as well as cached favicons and perhaps a few other
7 7 things.
8 8
9   -The code on this page may or may not work with your configuration
10   -(PHP short tags, some PHP5-only syntax), and is certainly not optimal,
11   -but it will definitely get cleaned up in time for the 1.0 release.
12   -
13   -Lots of this code is commented to help explain some of the new stuff.
  9 +Lots of this code is commented to help explain some of the new stuff.
  10 +Code was tested in PHP 5.2.2, but *should* also work with earlier
  11 +versions of PHP, as supported by SimplePie (PHP 4.1).
14 12
15 13 ********************************************************************/
16 14
@@ -25,7 +23,15 @@
25 23 'http://news.google.com/?output=atom',
26 24 'http://rss.cnn.com/rss/cnn_topstories.rss'
27 25 ));
  26 +
  27 +// When we set these, we need to make sure that the handler_image.php file is also trying to read from the same cache directory that we are.
  28 +$feed->set_favicon_handler('./handler_image.php');
  29 +$feed->set_image_handler('./handler_image.php');
  30 +
  31 +// Initialize the feed.
28 32 $feed->init();
  33 +
  34 +// Make sure the page is being served with the UTF-8 headers.
29 35 $feed->handle_content_type();
30 36
31 37 // Begin the (X)HTML page.
@@ -59,40 +65,41 @@
59 65 <body>
60 66 <div id="site">
61 67
62   - <? if ($feed->error): ?>
  68 + <?php if ($feed->error): ?>
63 69 <p><?=$feed->error()?></p>
64   - <? endif ?>
  70 + <?php endif ?>
65 71
66 72 <div class="chunk">
67 73 <h1>Quick-n-Dirty Multifeeds Demo</a></h1>
68 74 </div>
69 75
70   - <? foreach($feed->get_items() as $item): ?>
  76 + <?php
  77 + // Let's loop through each item in the feed.
  78 + foreach($feed->get_items() as $item):
71 79
72   - <div class="chunk">
73   - <!-- Here (in the PHP code), we see some PHP5 "chaining" of methods, showing how to grab the appropriate favicon for the source of the item. -->
74   - <h4 style="background-image:url(<?=$item->get_feed()->get_favicon()?>);"><a href="<?=$item->get_permalink()?>"><?=html_entity_decode($item->get_title(), ENT_QUOTES, 'UTF-8')?></a></h4>
  80 + // Let's give ourselves a reference to the parent $feed object for this particular item.
  81 + $feed = $item->get_feed();
  82 + ?>
75 83
76   - <!-- get_description() now prefers summaries over full content -->
77   - <?//=$item->get_description()?>
  84 + <div class="chunk">
  85 + <h4 style="background-image:url(<?php echo $feed->get_favicon(); ?>);"><a href="<?php echo $item->get_permalink(); ?>"><?php echo html_entity_decode($item->get_title(), ENT_QUOTES, 'UTF-8'); ?></a></h4>
78 86
79 87 <!-- get_content() prefers full content over summaries -->
80   - <?=$item->get_content()?>
  88 + <?php echo $item->get_content(); ?>
81 89
82   - <? if ($enclosure = $item->get_enclosure()): ?>
  90 + <?php if ($enclosure = $item->get_enclosure()): ?>
83 91 <div>
84   - <?=$enclosure->native_embed(array(
  92 + <?php echo $enclosure->native_embed(array(
85 93 // New 'mediaplayer' attribute shows off Flash-based MP3 and FLV playback.
86 94 'mediaplayer' => '../demo/for_the_demo/mediaplayer.swf'
87   - ))?>
  95 + )); ?>
88 96 </div>
89   - <? endif ?>
  97 + <?php endif; ?>
90 98
91   - <!-- Here's more of that PHP5 chaining with $item->get_feed()->get_permalink() to get the source feed's permalink -->
92   - <p class="footnote">Source: <a href="<?=$item->get_feed()->get_permalink()?>"><?=$item->get_feed()->get_title()?></a> | <?=$item->get_date('j M Y | g:i a')?></p>
  99 + <p class="footnote">Source: <a href="<?php echo $feed->get_permalink(); ?>"><?php echo $feed->get_title(); ?></a> | <?php echo $item->get_date('j M Y | g:i a'); ?></p>
93 100 </div>
94 101
95   - <? endforeach ?>
  102 + <?php endforeach ?>
96 103
97 104 <p class="footnote">This is a test of the emergency broadcast system. This is only a test&hellip; beeeeeeeeeeeeeeeeeeeeeeeeeep!</p>
98 105
102 simplepie.inc
@@ -51,13 +51,13 @@ define('SIMPLEPIE_NAME', 'SimplePie');
51 51 /**
52 52 * SimplePie Version
53 53 */
54   -define('SIMPLEPIE_VERSION', 'Razzleberry++');
  54 +define('SIMPLEPIE_VERSION', '1.0.1');
55 55
56 56 /**
57 57 * SimplePie Build
58 58 * @todo Hardcode for release (there's no need to have to call SimplePie_Misc::parse_date() only every load of simplepie.inc)
59 59 */
60   -define('SIMPLEPIE_BUILD', gmdate('YmdHis', SimplePie_Misc::parse_date(substr('$Date$', 7, 25))));
  60 +define('SIMPLEPIE_BUILD', 20070719221955);
61 61
62 62 /**
63 63 * SimplePie Website URL
@@ -674,7 +674,7 @@ class SimplePie
674 674 */
675 675 function __toString()
676 676 {
677   - return md5(serialize($this));
  677 + return md5(serialize($this->data));
678 678 }
679 679
680 680 /**
@@ -2706,7 +2706,7 @@ class SimplePie_Item
2706 2706
2707 2707 function __toString()
2708 2708 {
2709   - return md5(serialize($this));
  2709 + return md5(serialize($this->data));
2710 2710 }
2711 2711
2712 2712 function get_item_tags($namespace, $tag)
@@ -4884,11 +4884,25 @@ class SimplePie_Item
4884 4884
4885 4885 foreach ((array) $this->get_item_tags(SIMPLEPIE_NAMESPACE_ATOM_10, 'link') as $link)
4886 4886 {
4887   - if (isset($link['attribs']['']['href']) && isset($link['attribs']['']['rel']) && $link['attribs']['']['rel'] == 'enclosure')
4888   - {
4889   - $url = $this->sanitize($link['attribs']['']['href'], SIMPLEPIE_CONSTRUCT_IRI, $this->get_base($link));
4890   - $type = null;
  4887 + if (isset($link['attribs']['']['href']) && !empty($link['attribs']['']['rel']) && $link['attribs']['']['rel'] == 'enclosure')
  4888 + {
  4889 + // Attributes
  4890 + $bitrate = null;
  4891 + $channels = null;
  4892 + $duration = null;
  4893 + $expression = null;
  4894 + $framerate = null;
  4895 + $height = null;
  4896 + $javascript = null;
  4897 + $lang = null;
4891 4898 $length = null;
  4899 + $medium = null;
  4900 + $samplingrate = null;
  4901 + $type = null;
  4902 + $url = null;
  4903 + $width = null;
  4904 +
  4905 + $url = $this->sanitize($link['attribs']['']['href'], SIMPLEPIE_CONSTRUCT_IRI, $this->get_base($link));
4892 4906 if (isset($link['attribs']['']['type']))
4893 4907 {
4894 4908 $type = $this->sanitize($link['attribs']['']['type'], SIMPLEPIE_CONSTRUCT_TEXT);
@@ -4899,17 +4913,31 @@ class SimplePie_Item
4899 4913 }
4900 4914
4901 4915 // Since we don't have group or content for these, we'll just pass the '*_parent' variables directly to the constructor
4902   - $this->data['enclosures'][] =& new $this->feed->enclosure_class($url, $type, $length, $this->feed->javascript);
  4916 + $this->data['enclosures'][] =& new $this->feed->enclosure_class($url, $type, $length, $this->feed->javascript, $bitrate, $captions_parent, $categories_parent, $channels, $copyrights_parent, $credits_parent, $description_parent, $duration_parent, $expression, $framerate, $hashes_parent, $height, $keywords_parent, $lang, $medium, $player_parent, $ratings_parent, $restrictions_parent, $samplingrate, $thumbnails_parent, $title_parent, $width);
4903 4917 }
4904 4918 }
4905 4919
4906 4920 foreach ((array) $this->get_item_tags(SIMPLEPIE_NAMESPACE_ATOM_03, 'link') as $link)
4907 4921 {
4908   - if (isset($link['attribs']['']['href']) && isset($link['attribs']['']['rel']) && $link['attribs']['']['rel'] == 'enclosure')
4909   - {
4910   - $url = $this->sanitize($link['attribs']['']['href'], SIMPLEPIE_CONSTRUCT_IRI, $this->get_base($link));
4911   - $type = null;
  4922 + if (isset($link['attribs']['']['href']) && !empty($link['attribs']['']['rel']) && $link['attribs']['']['rel'] == 'enclosure')
  4923 + {
  4924 + // Attributes
  4925 + $bitrate = null;
  4926 + $channels = null;
  4927 + $duration = null;
  4928 + $expression = null;
  4929 + $framerate = null;
  4930 + $height = null;
  4931 + $javascript = null;
  4932 + $lang = null;
4912 4933 $length = null;
  4934 + $medium = null;
  4935 + $samplingrate = null;
  4936 + $type = null;
  4937 + $url = null;
  4938 + $width = null;
  4939 +
  4940 + $url = $this->sanitize($link['attribs']['']['href'], SIMPLEPIE_CONSTRUCT_IRI, $this->get_base($link));
4913 4941 if (isset($link['attribs']['']['type']))
4914 4942 {
4915 4943 $type = $this->sanitize($link['attribs']['']['type'], SIMPLEPIE_CONSTRUCT_TEXT);
@@ -4920,7 +4948,7 @@ class SimplePie_Item
4920 4948 }
4921 4949
4922 4950 // Since we don't have group or content for these, we'll just pass the '*_parent' variables directly to the constructor
4923   - $this->data['enclosures'][] =& new $this->feed->enclosure_class($url, $type, $length, $this->feed->javascript);
  4951 + $this->data['enclosures'][] =& new $this->feed->enclosure_class($url, $type, $length, $this->feed->javascript, $bitrate, $captions_parent, $categories_parent, $channels, $copyrights_parent, $credits_parent, $description_parent, $duration_parent, $expression, $framerate, $hashes_parent, $height, $keywords_parent, $lang, $medium, $player_parent, $ratings_parent, $restrictions_parent, $samplingrate, $thumbnails_parent, $title_parent, $width);
4924 4952 }
4925 4953 }
4926 4954
@@ -4928,9 +4956,23 @@ class SimplePie_Item
4928 4956 {
4929 4957 if (isset($enclosure[0]['attribs']['']['url']))
4930 4958 {
4931   - $url = $this->sanitize($enclosure[0]['attribs']['']['url'], SIMPLEPIE_CONSTRUCT_IRI, $this->get_base($enclosure[0]));
4932   - $type = null;
  4959 + // Attributes
  4960 + $bitrate = null;
  4961 + $channels = null;
  4962 + $duration = null;
  4963 + $expression = null;
  4964 + $framerate = null;
  4965 + $height = null;
  4966 + $javascript = null;
  4967 + $lang = null;
4933 4968 $length = null;
  4969 + $medium = null;
  4970 + $samplingrate = null;
  4971 + $type = null;
  4972 + $url = null;
  4973 + $width = null;
  4974 +
  4975 + $url = $this->sanitize($enclosure[0]['attribs']['']['url'], SIMPLEPIE_CONSTRUCT_IRI, $this->get_base($enclosure[0]));
4934 4976 if (isset($enclosure[0]['attribs']['']['type']))
4935 4977 {
4936 4978 $type = $this->sanitize($enclosure[0]['attribs']['']['type'], SIMPLEPIE_CONSTRUCT_TEXT);
@@ -4941,7 +4983,7 @@ class SimplePie_Item
4941 4983 }
4942 4984
4943 4985 // Since we don't have group or content for these, we'll just pass the '*_parent' variables directly to the constructor
4944   - $this->data['enclosures'][] =& new $this->feed->enclosure_class($url, $type, $length, $this->feed->javascript);
  4986 + $this->data['enclosures'][] =& new $this->feed->enclosure_class($url, $type, $length, $this->feed->javascript, $bitrate, $captions_parent, $categories_parent, $channels, $copyrights_parent, $credits_parent, $description_parent, $duration_parent, $expression, $framerate, $hashes_parent, $height, $keywords_parent, $lang, $medium, $player_parent, $ratings_parent, $restrictions_parent, $samplingrate, $thumbnails_parent, $title_parent, $width);
4945 4987 }
4946 4988 }
4947 4989 $this->data['enclosures'] = array_values(SimplePie_Misc::array_unique($this->data['enclosures']));
@@ -5105,6 +5147,7 @@ class SimplePie_Author
5105 5147
5106 5148 function __toString()
5107 5149 {
  5150 + // There is no $this->data here
5108 5151 return md5(serialize($this));
5109 5152 }
5110 5153
@@ -5161,6 +5204,7 @@ class SimplePie_Category
5161 5204
5162 5205 function __toString()
5163 5206 {
  5207 + // There is no $this->data here
5164 5208 return md5(serialize($this));
5165 5209 }
5166 5210
@@ -5271,6 +5315,7 @@ class SimplePie_Enclosure
5271 5315
5272 5316 function __toString()
5273 5317 {
  5318 + // There is no $this->data here
5274 5319 return md5(serialize($this));
5275 5320 }
5276 5321
@@ -6173,6 +6218,7 @@ class SimplePie_Caption
6173 6218
6174 6219 function __toString()
6175 6220 {
  6221 + // There is no $this->data here
6176 6222 return md5(serialize($this));
6177 6223 }
6178 6224
@@ -6253,6 +6299,7 @@ class SimplePie_Credit
6253 6299
6254 6300 function __toString()
6255 6301 {
  6302 + // There is no $this->data here
6256 6303 return md5(serialize($this));
6257 6304 }
6258 6305
@@ -6307,6 +6354,7 @@ class SimplePie_Copyright
6307 6354
6308 6355 function __toString()
6309 6356 {
  6357 + // There is no $this->data here
6310 6358 return md5(serialize($this));
6311 6359 }
6312 6360
@@ -6349,6 +6397,7 @@ class SimplePie_Rating
6349 6397
6350 6398 function __toString()
6351 6399 {
  6400 + // There is no $this->data here
6352 6401 return md5(serialize($this));
6353 6402 }
6354 6403
@@ -6393,6 +6442,7 @@ class SimplePie_Restriction
6393 6442
6394 6443 function __toString()
6395 6444 {
  6445 + // There is no $this->data here
6396 6446 return md5(serialize($this));
6397 6447 }
6398 6448
@@ -6564,7 +6614,21 @@ class SimplePie_File
6564 6614 {
6565 6615 socket_set_timeout($fp, $timeout);
6566 6616 }
6567   - $get = (isset($url_parts['query'])) ? "$url_parts[path]?$url_parts[query]" : $url_parts['path'];
  6617 + if (isset($url_parts['path']))
  6618 + {
  6619 + if (isset($url_parts['query']))
  6620 + {
  6621 + $get = "$url_parts[path]?$url_parts[query]";
  6622 + }
  6623 + else
  6624 + {
  6625 + $get = $url_parts['path'];
  6626 + }
  6627 + }
  6628 + else
  6629 + {
  6630 + $get = '/';
  6631 + }
6568 6632 $out = "GET $get HTTP/1.0\r\n";
6569 6633 $out .= "Host: $url_parts[host]\r\n";
6570 6634 $out .= "User-Agent: $useragent\r\n";
@@ -7506,7 +7570,7 @@ class SimplePie_Misc
7506 7570 return SimplePie_Misc::fix_protocol(SimplePie_Misc::compress_parse_url('http', $parsed['authority'], $parsed['path'], $parsed['query'], $parsed['fragment']), $http);
7507 7571 }
7508 7572
7509   - if ($parsed['scheme'] === '' && $parsed['authority'] === '')
  7573 + if ($parsed['scheme'] === '' && $parsed['authority'] === '' && !file_exists($url))
7510 7574 {
7511 7575 return SimplePie_Misc::fix_protocol(SimplePie_Misc::compress_parse_url('http', $parsed['path'], '', $parsed['query'], $parsed['fragment']), $http);
7512 7576 }
1  test/absolutize/RFC3986.5.4/README
... ... @@ -1 +0,0 @@
1   -The tests enclosed within come from RFC 3986 section 5.4 and all share the same base URL
16 test/absolutize/RFC3986.5.4/abnormal/1.php
... ... @@ -1,16 +0,0 @@
1   -<?php
2   -
3   -class SimplePie_Absolutize_Test_RFC3986_Abnormal_1 extends SimplePie_Absolutize_Test_RFC3986
4   -{
5   - function data()
6   - {
7   - $this->data['relative'] = '../../../g';
8   - }
9   -
10   - function expected()
11   - {
12   - $this->expected = 'http://a/g';
13   - }
14   -}
15   -
16   -?>
16 test/absolutize/RFC3986.5.4/abnormal/10.php
... ... @@ -1,16 +0,0 @@
1   -<?php
2   -
3   -class SimplePie_Absolutize_Test_RFC3986_Abnormal_10 extends SimplePie_Absolutize_Test_RFC3986
4   -{
5   - function data()
6   - {
7   - $this->data['relative'] = './g/.';
8   - }
9   -
10   - function expected()
11   - {
12   - $this->expected = 'http://a/b/c/g/';
13   - }
14   -}
15   -
16   -?>
16 test/absolutize/RFC3986.5.4/abnormal/11.php
... ... @@ -1,16 +0,0 @@
1   -<?php
2   -
3   -class SimplePie_Absolutize_Test_RFC3986_Abnormal_11 extends SimplePie_Absolutize_Test_RFC3986
4   -{
5   - function data()
6   - {
7   - $this->data['relative'] = 'g/./h';
8   - }
9   -
10   - function expected()
11   - {
12   - $this->expected = 'http://a/b/c/g/h';
13   - }
14   -}
15   -
16   -?>
16 test/absolutize/RFC3986.5.4/abnormal/12.php
... ... @@ -1,16 +0,0 @@
1   -<?php
2   -
3   -class SimplePie_Absolutize_Test_RFC3986_Abnormal_12 extends SimplePie_Absolutize_Test_RFC3986
4   -{
5   - function data()
6   - {
7   - $this->data['relative'] = 'g/../h';
8   - }
9   -
10   - function expected()
11   - {
12   - $this->expected = 'http://a/b/c/h';
13   - }
14   -}
15   -
16   -?>
16 test/absolutize/RFC3986.5.4/abnormal/13.php
... ... @@ -1,16 +0,0 @@
1   -<?php
2   -
3   -class SimplePie_Absolutize_Test_RFC3986_Abnormal_13 extends SimplePie_Absolutize_Test_RFC3986
4   -{
5   - function data()
6   - {
7   - $this->data['relative'] = 'g;x=1/./y';
8   - }
9   -
10   - function expected()
11   - {
12   - $this->expected = 'http://a/b/c/g;x=1/y';
13   - }
14   -}
15   -
16   -?>
16 test/absolutize/RFC3986.5.4/abnormal/14.php
... ... @@ -1,16 +0,0 @@
1   -<?php
2   -
3   -class SimplePie_Absolutize_Test_RFC3986_Abnormal_14 extends SimplePie_Absolutize_Test_RFC3986
4   -{
5   - function data()
6   - {
7   - $this->data['relative'] = 'g;x=1/../y';
8   - }
9   -
10   - function expected()
11   - {
12   - $this->expected = 'http://a/b/c/y';
13   - }
14   -}
15   -
16   -?>
16 test/absolutize/RFC3986.5.4/abnormal/15.php
... ... @@ -1,16 +0,0 @@
1   -<?php
2   -
3   -class SimplePie_Absolutize_Test_RFC3986_Abnormal_15 extends SimplePie_Absolutize_Test_RFC3986
4   -{
5   - function data()
6   - {
7   - $this->data['relative'] = 'g?y/./x';
8   - }
9   -
10   - function expected()
11   - {
12   - $this->expected = 'http://a/b/c/g?y/./x';
13   - }
14   -}
15   -
16   -?>
16 test/absolutize/RFC3986.5.4/abnormal/16.php
... ... @@ -1,16 +0,0 @@
1   -<?php
2   -
3   -class SimplePie_Absolutize_Test_RFC3986_Abnormal_16 extends SimplePie_Absolutize_Test_RFC3986
4   -{
5   - function data()
6   - {
7   - $this->data['relative'] = 'g?y/../x';
8   - }
9   -
10   - function expected()
11   - {
12   - $this->expected = 'http://a/b/c/g?y/../x';
13   - }
14   -}
15   -
16   -?>
16 test/absolutize/RFC3986.5.4/abnormal/17.php
... ... @@ -1,16 +0,0 @@
1   -<?php
2   -
3   -class SimplePie_Absolutize_Test_RFC3986_Abnormal_17 extends SimplePie_Absolutize_Test_RFC3986
4   -{
5   - function data()
6   - {
7   - $this->data['relative'] = 'g#s/./x';
8   - }
9   -
10   - function expected()
11   - {
12   - $this->expected = 'http://a/b/c/g#s/./x';
13   - }
14   -}
15   -
16   -?>
16 test/absolutize/RFC3986.5.4/abnormal/18.php
... ... @@ -1,16 +0,0 @@
1   -<?php
2   -
3   -class SimplePie_Absolutize_Test_RFC3986_Abnormal_18 extends SimplePie_Absolutize_Test_RFC3986
4   -{
5   - function data()
6   - {
7   - $this->data['relative'] = 'g#s/../x';
8   - }
9   -
10   - function expected()
11   - {
12   - $this->expected = 'http://a/b/c/g#s/../x';
13   - }
14   -}
15   -
16   -?>
16 test/absolutize/RFC3986.5.4/abnormal/19.php
... ... @@ -1,16 +0,0 @@
1   -<?php
2   -
3   -class SimplePie_Absolutize_Test_RFC3986_Abnormal_19 extends SimplePie_Absolutize_Test_RFC3986
4   -{
5   - function data()
6   - {
7   - $this->data['relative'] = 'http:g';
8   - }
9   -
10   - function expected()
11   - {
12   - $this->expected = 'http:g';
13   - }
14   -}
15   -
16   -?>
16 test/absolutize/RFC3986.5.4/abnormal/2.php
... ... @@ -1,16 +0,0 @@
1   -<?php
2   -
3   -class SimplePie_Absolutize_Test_RFC3986_Abnormal_2 extends SimplePie_Absolutize_Test_RFC3986
4   -{
5   - function data()
6   - {
7   - $this->data['relative'] = '../../../../g';
8   - }
9   -
10   - function expected()
11   - {
12   - $this->expected = 'http://a/g';
13   - }
14   -}
15   -
16   -?>
16 test/absolutize/RFC3986.5.4/abnormal/3.php
... ... @@ -1,16 +0,0 @@
1   -<?php
2   -
3   -class SimplePie_Absolutize_Test_RFC3986_Abnormal_3 extends SimplePie_Absolutize_Test_RFC3986
4   -{
5   - function data()
6   - {
7   - $this->data['relative'] = '/./g';
8   - }
9   -
10   - function expected()
11   - {
12   - $this->expected = 'http://a/g';
13   - }
14   -}
15   -
16   -?>
16 test/absolutize/RFC3986.5.4/abnormal/4.php
... ... @@ -1,16 +0,0 @@
1   -<?php
2   -
3   -class SimplePie_Absolutize_Test_RFC3986_Abnormal_4 extends SimplePie_Absolutize_Test_RFC3986
4   -{
5   - function data()
6   - {
7   - $this->data['relative'] = '/../g';
8   - }
9   -
10   - function expected()
11   - {
12   - $this->expected = 'http://a/g';
13   - }
14   -}
15   -
16   -?>
16 test/absolutize/RFC3986.5.4/abnormal/5.php
... ... @@ -1,16 +0,0 @@
1   -<?php
2   -
3   -class SimplePie_Absolutize_Test_RFC3986_Abnormal_5 extends SimplePie_Absolutize_Test_RFC3986
4   -{
5   - function data()
6   - {
7   - $this->data['relative'] = 'g.';
8   - }
9   -
10   - function expected()
11   - {
12   - $this->expected = 'http://a/b/c/g.';
13   - }
14   -}
15   -
16   -?>
16 test/absolutize/RFC3986.5.4/abnormal/6.php
... ... @@ -1,16 +0,0 @@
1   -<?php
2   -
3   -class SimplePie_Absolutize_Test_RFC3986_Abnormal_6 extends SimplePie_Absolutize_Test_RFC3986
4   -{
5   - function data()
6   - {
7   - $this->data['relative'] = '.g';
8   - }
9   -
10   - function expected()
11   - {
12   - $this->expected = 'http://a/b/c/.g';
13   - }
14   -}
15   -
16   -?>
16 test/absolutize/RFC3986.5.4/abnormal/7.php
... ... @@ -1,16 +0,0 @@
1   -<?php
2   -
3   -class SimplePie_Absolutize_Test_RFC3986_Abnormal_7 extends SimplePie_Absolutize_Test_RFC3986
4   -{
5   - function data()
6   - {
7   - $this->data['relative'] = 'g..';
8   - }
9   -
10   - function expected()
11   - {
12   - $this->expected = 'http://a/b/c/g..';
13   - }
14   -}
15   -
16   -?>
16 test/absolutize/RFC3986.5.4/abnormal/8.php
... ... @@ -1,16 +0,0 @@
1   -<?php
2   -
3   -class SimplePie_Absolutize_Test_RFC3986_Abnormal_8 extends SimplePie_Absolutize_Test_RFC3986
4   -{
5   - function data()
6   - {
7   - $this->data['relative'] = '..g';
8   - }
9   -
10   - function expected()
11   - {
12   - $this->expected = 'http://a/b/c/..g';
13   - }
14   -}
15   -
16   -?>
16 test/absolutize/RFC3986.5.4/abnormal/9.php
... ... @@ -1,16 +0,0 @@
1   -<?php
2   -
3   -class SimplePie_Absolutize_Test_RFC3986_Abnormal_9 extends SimplePie_Absolutize_Test_RFC3986
4   -{
5   - function data()
6   - {
7   - $this->data['relative'] = './../g';
8   - }
9   -
10   - function expected()
11   - {
12   - $this->expected = 'http://a/b/g';
13   - }
14   -}
15   -
16   -?>
21 test/absolutize/RFC3986.5.4/base.php
... ... @@ -1,21 +0,0 @@
1   -<?php
2   -
3   -class SimplePie_Absolutize_Test_RFC3986 extends SimplePie_Absolutize_Test
4   -{
5   - function SimplePie_Absolutize_Test_RFC3986()
6   - {
7   - // Ugly hack so it only applies to this and none of its children
8   - if (!is_subclass_of($this, 'SimplePie_Absolutize_Test_RFC3986'))
9   - {
10   - $this->test = false;
11   - }
12   - parent::SimplePie_Absolutize_Test();
13   - }
14   -
15   - function init()
16   - {
17   - $this->data['base'] = 'http://a/b/c/d;p?q';
18   - }
19   -}
20   -
21   -?>
16 test/absolutize/RFC3986.5.4/normal/1.php
... ... @@ -1,16 +0,0 @@
1   -<?php
2   -
3   -class SimplePie_Absolutize_Test_RFC3986_Normal_1 extends SimplePie_Absolutize_Test_RFC3986
4   -{
5   - function data()
6   - {
7   - $this->data['relative'] = 'g:h';
8   - }
9   -
10   - function expected()
11   - {
12   - $this->expected = 'g:h';
13   - }
14   -}
15   -
16   -?>
16 test/absolutize/RFC3986.5.4/normal/10.php
... ... @@ -1,16 +0,0 @@
1   -<?php
2   -
3   -class SimplePie_Absolutize_Test_RFC3986_Normal_10 extends SimplePie_Absolutize_Test_RFC3986
4   -{
5   - function data()
6   - {
7   - $this->data['relative'] = 'g#s';
8   - }
9   -
10   - function expected()
11   - {
12   - $this->expected = 'http://a/b/c/g#s';
13   - }
14   -}
15   -
16   -?>
16 test/absolutize/RFC3986.5.4/normal/11.php
... ... @@ -1,16 +0,0 @@
1   -<?php
2   -
3   -class SimplePie_Absolutize_Test_RFC3986_Normal_11 extends SimplePie_Absolutize_Test_RFC3986
4   -{
5   - function data()
6   - {
7   - $this->data['relative'] = 'g?y#s';
8   - }
9   -
10   - function expected()
11   - {
12   - $this->expected = 'http://a/b/c/g?y#s';
13   - }
14   -}
15   -
16   -?>
16 test/absolutize/RFC3986.5.4/normal/12.php
... ... @@ -1,16 +0,0 @@
1   -<?php
2   -
3   -class SimplePie_Absolutize_Test_RFC3986_Normal_12 extends SimplePie_Absolutize_Test_RFC3986
4   -{
5   - function data()
6   - {
7   - $this->data['relative'] = ';x';
8   - }
9   -
10   - function expected()
11   - {
12   - $this->expected = 'http://a/b/c/;x';
13   - }
14   -}
15   -
16   -?>
16 test/absolutize/RFC3986.5.4/normal/13.php
... ... @@ -1,16 +0,0 @@
1   -<?php
2   -
3   -class SimplePie_Absolutize_Test_RFC3986_Normal_13 extends SimplePie_Absolutize_Test_RFC3986
4   -{
5   - function data()
6   - {
7   - $this->data['relative'] = 'g;x';
8   - }
9   -
10   - function expected()
11   - {
12   - $this->expected = 'http://a/b/c/g;x';
13   - }
14   -}
15   -
16   -?>
16 test/absolutize/RFC3986.5.4/normal/14.php
... ... @@ -1,16 +0,0 @@
1   -<?php
2   -
3   -class SimplePie_Absolutize_Test_RFC3986_Normal_14 extends SimplePie_Absolutize_Test_RFC3986
4   -{
5   - function data()
6   - {
7   - $this->data['relative'] = 'g;x?y#s';
8   - }
9   -
10   - function expected()
11   - {
12   - $this->expected = 'http://a/b/c/g;x?y#s';
13   - }
14   -}
15   -
16   -?>
16 test/absolutize/RFC3986.5.4/normal/15.php
... ... @@ -1,16 +0,0 @@
1   -<?php
2   -
3   -class SimplePie_Absolutize_Test_RFC3986_Normal_15 extends SimplePie_Absolutize_Test_RFC3986
4   -{
5   - function data()
6   - {
7   - $this->data['relative'] = '';
8   - }
9   -
10   - function expected()
11   - {
12   - $this->expected = 'http://a/b/c/d;p?q';
13   - }
14   -}
15   -
16   -?>
16 test/absolutize/RFC3986.5.4/normal/16.php
... ... @@ -1,16 +0,0 @@
1   -<?php
2   -
3   -class SimplePie_Absolutize_Test_RFC3986_Normal_16 extends SimplePie_Absolutize_Test_RFC3986
4   -{
5   - function data()
6   - {
7   - $this->data['relative'] = '.';
8   - }
9   -
10   - function expected()
11   - {
12   - $this->expected = 'http://a/b/c/';
13   - }
14   -}
15   -
16   -?>
16 test/absolutize/RFC3986.5.4/normal/17.php
... ... @@ -1,16 +0,0 @@
1   -<?php
2   -
3   -class SimplePie_Absolutize_Test_RFC3986_Normal_17 extends SimplePie_Absolutize_Test_RFC3986
4   -{
5   - function data()
6   - {
7   - $this->data['relative'] = './';
8   - }
9   -
10   - function expected()
11   - {
12   - $this->expected = 'http://a/b/c/';
13   - }
14   -}
15   -
16   -?>
16 test/absolutize/RFC3986.5.4/normal/18.php
... ... @@ -1,16 +0,0 @@
1   -<?php
2   -
3   -class SimplePie_Absolutize_Test_RFC3986_Normal_18 extends SimplePie_Absolutize_Test_RFC3986
4   -{
5   - function data()
6   - {
7   - $this->data['relative'] = '..';
8   - }
9   -
10   - function expected()
11   - {
12   - $this->expected = 'http://a/b/';
13   - }
14   -}
15   -
16   -?>
16 test/absolutize/RFC3986.5.4/normal/19.php
... ... @@ -1,16 +0,0 @@
1   -<?php
2   -
3   -class SimplePie_Absolutize_Test_RFC3986_Normal_19 extends SimplePie_Absolutize_Test_RFC3986
4   -{
5   - function data()
6   - {
7   - $this->data['relative'] = '../';
8   - }
9   -
10   - function expected()
11   - {
12   - $this->expected = 'http://a/b/';
13   - }
14   -}
15   -
16   -?>
16 test/absolutize/RFC3986.5.4/normal/2.php
... ... @@ -1,16 +0,0 @@
1   -<?php
2   -
3   -class SimplePie_Absolutize_Test_RFC3986_Normal_2 extends SimplePie_Absolutize_Test_RFC3986
4   -{
5   - function data()
6   - {
7   - $this->data['relative'] = 'g';
8   - }
9   -
10   - function expected()