Developer:AnnouncementsResource

From myExperiment
Jump to: navigation, search

Announcements Resource

Index of announcements

URL: GET http://www.myexperiment.org/announcements.xml

Example output:

<?xml version='1.0' encoding='UTF-8'?>
<announcements>
  <announcement uri='http://www.myexperiment.org/announcement.xml?id=1' resource='http://www.myexperiment.org/announcements/1'>New announcements feature!</announcement>
  <announcement uri='http://www.myexperiment.org/announcement.xml?id=2' resource='http://www.myexperiment.org/announcements/2'>New reviews feature!</announcement>
  <announcement uri='http://www.myexperiment.org/announcement.xml?id=3' resource='http://www.myexperiment.org/announcements/3'>New updates and additions</announcement>
  <announcement uri='http://www.myexperiment.org/announcement.xml?id=4' resource='http://www.myexperiment.org/announcements/4'>Updated Group sharing!</announcement>
  <announcement uri='http://www.myexperiment.org/announcement.xml?id=5' resource='http://www.myexperiment.org/announcements/5'>myExperiment mentioned in Nature magazine!</announcement>
  ...
</announcements>


Create announcement

Planned.


Read announcement

URL: GET http://www.myexperiment.org/announcement.xml?id=6

Example output:

<?xml version='1.0' encoding='UTF-8'?>
<announcement uri='http://www.myexperiment.org/announcement.xml?id=6' resource='http://www.myexperiment.org/announcements/6'>
  <author uri='http://www.myexperiment.org/user.xml?id=16' resource='http://www.myexperiment.org/users/16'>David De Roure</author>
  <title>myExperiment in IEEE Intelligent Systems</title>
  <text>&lt;p&gt;myExperiment is discussed by Jim Hendler in his article &lt;i&gt;Reinventing Academic Publishing, Part 3 &lt;/i&gt;in IEEE Intelligent Systems January/February 2008, page 2-3.&lt;/p&gt;</text>
  <created-at>Sat Mar 08 10:56:15 +0000 2008</created-at>
</announcement>


Update announcement

Planned.


Delete announcement

Planned.


Elements for announcement

  • id - the id of the announcement
  • author - the user who submitted the announcement
  • title - the title of the announcement
  • text - the main text of the announcement
  • created-at - the date/time the announcement was created
  • updated-at - the date/time the announcement was last modified