phpScheduleIt
May 24, 2013, 01:57:02 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: phpScheduleIt 2.4.2 has been released!
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: RSS feeds improvements  (Read 5254 times)
caio2112
Newbie
*

Karma: 0
Posts: 14


« on: September 21, 2006, 03:57:43 PM »

Hi,

Here are some sugestions for the feeds:

1) Add the end date and end time to the feed headline

2) Remove the feed as soon as the end date/time is reached

3) Add the RSS link (and the red logo) to the Control Panel page or to the Welcome bar near the help link.

4) Since clicking on a feed will open the reservation page, add a control panel link in the reservation page so that we can get out of this page. (clicking on cancel button has no effect here)

Thanks,
Caio
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5419


WWW
« Reply #1 on: September 22, 2006, 10:52:50 AM »

Cool ideas.  Thanks.
Logged
iagirl
Newbie
*

Karma: 0
Posts: 2


« Reply #2 on: November 26, 2006, 07:56:46 AM »

Is there a way to pull an rss feed from all of the schedules together? This way if you have multiple schedules you would have a way to see them all at a glance.
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5419


WWW
« Reply #3 on: November 27, 2006, 02:28:17 PM »

Hmm, not currently, but that is a good idea.  It would be a pretty simple change, if you wanted to do it yourself.  You would just have to modify the rss.php file to loop through all scheduleids and parse them as it is doing now.
Logged
sb
Newbie
*

Karma: 0
Posts: 14


« Reply #4 on: January 17, 2007, 12:18:26 PM »

I may be a bit dense at this point - (it has been a long day)

I can see setting in config.php for RSS, but not how to get the url to receive them - usually there is a small icon - I would expect to see somewhere on the calendar or control panel.

Do you then get all bookings or just your own?

TIA
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5419


WWW
« Reply #5 on: January 18, 2007, 01:44:40 PM »

You know, I think I've been so used to the Firefox RSS icon that I totally overlooked this.  I'll fix this.  Thanks.
Logged
ndru
Newbie
*

Karma: 0
Posts: 16


« Reply #6 on: February 13, 2007, 08:23:18 PM »

I can't seem to figure this out.    Just firing up  [mysite]/rss.php doesn't seem to work - I just get a blank page.

Update:  just looked at the html source, and found the URL.

For those as dumb as me, it's:

[mysite]/rss.php?id=[internal schedule id that you can get by looking at your site]

Not sure where else this is documented.
Logged
ndru
Newbie
*

Karma: 0
Posts: 16


« Reply #7 on: February 14, 2007, 03:04:41 PM »

Quote from: "iagirl"
Is there a way to pull an rss feed from all of the schedules together? This way if you have multiple schedules you would have a way to see them all at a glance.


You could also use a feed aggregator to pile all the feeds together and spit out the aggregate.   For example, you could do it in bloglines.
Logged
ndru
Newbie
*

Karma: 0
Posts: 16


« Reply #8 on: February 14, 2007, 03:23:40 PM »

Once again, my apologies in advance if there's some error on my part that has prevented me from getting the right kind of feed configuation.   Here's what the feed looks like coming out of my test site:

Code:

<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
<channel>
<title>phpScheduleIt Reservations</title>
<item>
<title>Sanctuary [06/14/2007 @ 12:00am]</title>
<link>http://[mysite]/reserve.php?type=m&amp;resid=sc145d145411d96e&amp;scheduleid=sc145d11d5380a3f</link>
<description></description>
</item>
<item>
<title>Sanctuary [06/07/2007 @ 12:00am]</title>
<link>http://[mysite]reserve.php?type=m&amp;resid=sc145d145411c1ff&amp;scheduleid=sc145d11d5380a3f</link>
<description></description>
</item>
<item>
<title>Sanctuary [05/31/2007 @ 12:00am]</title>
<link>http://[mysite]/reserve.php?type=m&amp;resid=sc145d145411ab3e&amp;scheduleid=sc145d11d5380a3f</link>
<description></description>
</item>...etc.

First, I'm wondering why the description element comes up empty, when it seems to be populated on the phpScheduleIt site.
Next, I'm wondering if there's any way to extend RSS to include the start and end times in separate tags, to make it easy to parse them out.  Even without extending RSS, the resource (room) name could be included in a category element.  My particular interest is in allowing RSS feeds of booked resources to be consumed in an automated way by a Content Management system, which would convert them into events.  My particular interest is in Drupal, but there could be others.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!