Source for file RSS_C.php

Documentation is available at RSS_C.php

  1. <?PHP
  2. // ----------------------------------------------------------------------------------
  3. // RSS Vocabulary (Resource)
  4. // ----------------------------------------------------------------------------------
  5. // Version : 0.9
  6. // Authors : Tobias Gauß (tobias.gauss@web.de)
  7. //
  8. // Description : Wrapper, defining resources for all terms of RSS.
  9. // For details about RSS see: http://purl.org/rss/1.0/.
  10. // Using the wrapper allows you to define all aspects of
  11. // the vocabulary in one spot, simplifing implementation and
  12. // maintainence.
  13. //
  14. // ----------------------------------------------------------------------------------
  15. // History:
  16. // 11-08-2003 : Initial version
  17. // ----------------------------------------------------------------------------------
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25. class RSS{
  26.  
  27. function CHANNEL()
  28. {
  29. return new Resource(RSS_NS . 'channel');
  30.  
  31. }
  32.  
  33. function IMAGE()
  34. {
  35. return new Resource(RSS_NS . 'image');
  36.  
  37. }
  38.  
  39. function ITEM()
  40. {
  41. return new Resource(RSS_NS . 'item');
  42.  
  43. }
  44.  
  45. function TEXTINPUT()
  46. {
  47. return new Resource(RSS_NS . 'textinput');
  48.  
  49. }
  50.  
  51. function ITEMS()
  52. {
  53. return new Resource(RSS_NS . 'items');
  54.  
  55. }
  56.  
  57. function TITLE()
  58. {
  59. return new Resource(RSS_NS . 'title');
  60.  
  61. }
  62.  
  63. function LINK()
  64. {
  65. return new Resource(RSS_NS . 'link');
  66.  
  67. }
  68.  
  69. function URL()
  70. {
  71. return new Resource(RSS_NS . 'url');
  72.  
  73. }
  74.  
  75. function DESCRIPTION()
  76. {
  77. return new Resource(RSS_NS . 'description');
  78.  
  79. }
  80.  
  81. function NAME()
  82. {
  83. return new Resource(RSS_NS . 'name');
  84. }
  85. }
  86.  
  87.  
  88.  
  89. ?>

Documentation generated on Fri, 17 Dec 2004 16:18:07 +0100 by phpDocumentor 1.3.0RC3