Jump to content
Sign in to follow this  
eswann

Web Services

Recommended Posts

Do you have any plans to make Calendar queries available via a web service?

 

This would be a huge advantage to me, because I have several requests to pull calendar events and display them in ways that your spuds do not accomodate. With a WS interface, I could easily do this. Your technologies appear to be .Net based, which would again make it pretty easy to put a service facade on top of the calendar engine. Plus, having web services is now a pretty standard criteria for "enterprise-level" apps.

 

Thanks,

E

Share this post


Link to post
Share on other sites

Was anything ever mentioned on this? I can tell you some of the issues I'm having that prompted this question:

 

I need a horizontal layout like the scrolling list, but I can't use a scrolling list for a couple of reasons. The first is that it has a lot of flicker, and generally looks pretty jumpy on the screen (at least with the colors/fonts used in this site). The second is that the site needs to be "as 508 compliant as possible". Marquees are specifically not 508 compliant. I just want a simple horizonatal layout that displays the names of the 3 next events coming up. Is there some other way to do this?

 

Similarly, there are places where a 2 column layout of events is desired, but as far as I can tell, I can only create a 1 column layout using the spuds. Is this correct?

 

I would like to get the events from the next week, but I don't want to display the same events every time a user visits the page. Instead, I'd like to pick, say 5 random events from the next week and display them so that different events are promoted. Is there a way to do this?

 

I want to query the calendar to get the upcoming events, but when a user clicks the link, I want the user to be directed to my detail page, not the calendar detail page. I know they can click the "more info" link on the event to get back, but the page only vaguely matches my site, and the more prominent link is the "return to xxxx calendar" link at the bottom, which further pushes the user into the calendar site. The only obvious way to navigate back is with the back button on the browser. I'd really like to pull from the calendar, but keep the user within my site instead of redirecting them to the calendar site. Is there some way do accomplish this without IFrames?

 

THanks,

E

Edited by eswann

Share this post


Link to post
Share on other sites

Hi E,

I'm sorry we missed your first post about this in Dec. and am glad you asked again. Development doesn't have any near-future plans to make queries available via a web service. But what about using customized RSS or ATOM feeds -- would there be some way to get that to work? You can get more granular event info using the xCal option. If you haven't looked into this yet, start by checking some Help we have about it: Customize RSS feeds (Just some info that isn't included in the topic: To access the ATOM feed, you use .xml as the extension on the URL instead of .rss.) It might be kind of tricky to direct the info into the display you want, especially the idea of picking random events from the coming week. But for now it's really all that's available.

 

There isn't a way to do a two-column layout, either, but I can submit a feature request for such a view. Are there any existing views that you'd want to base this format on, or could you give some more info about exactly what you'd want to display in that view?

 

Are you familiar with the teaserBase property in the spud code? You can use it to direct the promotion spuds to your own web page that contains the main calendar spud, instead of the Trumba hosted site. If the teaserBase property is already included in the code, all you have to do is change the URL. Here's how the code would look if you're using the Upcoming Events spud (with placeholder text where your calendar's web name and your URL would be):

 

<script type="text/javascript" src="http://www.trumba.com/scripts/spuds.js"></script>

<script type="text/javascript">

$Trumba.addSpud({

webName: "name",

spudType : "upcoming" ,

teaserBase : "http://www.yoursite.com/yourcalendarpage.html" });

</script>

 

Let me know if that's not clear. You can find more teaserBase examples by looking at the spud API documentation, starting with Spud properties. Note that the topic is somewhat out of date, because most properties you can set in the UI now.

 

Jill / Trumba UA

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×