Source for file RSS_RES.php

Documentation is available at RSS_RES.php

  1. <?PHP
  2. // ----------------------------------------------------------------------------------
  3. // RSS Vocabulary (ResResource)
  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. class RSS_RES{
  24.  
  25. function CHANNEL()
  26. {
  27. return new ResResource(RSS_NS . 'channel');
  28.  
  29. }
  30.  
  31. function IMAGE()
  32. {
  33. return new ResResource(RSS_NS . 'image');
  34.  
  35. }
  36.  
  37. function ITEM()
  38. {
  39. return new ResResource(RSS_NS . 'item');
  40.  
  41. }
  42.  
  43. function TEXTINPUT()
  44. {
  45. return new ResResource(RSS_NS . 'textinput');
  46.  
  47. }
  48.  
  49. function ITEMS()
  50. {
  51. return new ResResource(RSS_NS . 'items');
  52.  
  53. }
  54.  
  55. function TITLE()
  56. {
  57. return new ResResource(RSS_NS . 'title');
  58.  
  59. }
  60.  
  61. function LINK()
  62. {
  63. return new ResResource(RSS_NS . 'link');
  64.  
  65. }
  66.  
  67. function URL()
  68. {
  69. return new ResResource(RSS_NS . 'url');
  70.  
  71. }
  72.  
  73. function DESCRIPTION()
  74. {
  75. return new ResResource(RSS_NS . 'description');
  76.  
  77. }
  78.  
  79. function NAME()
  80. {
  81. return new ResResource(RSS_NS . 'name');
  82. }
  83. }
  84.  
  85.  
  86. ?>

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