PEAK XOOPS - [FEATURE REQUEST] Ability to export to ICS from URL. in englishin japanese

[FEATURE REQUEST] Ability to export to ICS from URL.

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 .2 .3 | Posted on 2005/9/21 21:16
dargosch  企霹始   Posts: 10
Hi,

I have a feature suggestion. What about an option to allow exporting, no permission checking of course, a calander through the use of an URL?

So, the URL

http://www.mysite.org/modules/pical/ics.php?cat=Fredrik

would get me an ICS of the category Fredrik.
There are several PIMs out there that support import of a calendar from the web (Kontact for instance) and I would just love the feature.


/Fredrik
Votes:4 Average:5.00
Previous post - Next post | Parent - No child | Posted on 2006/1/5 18:25
GIJOE  黎扦烦菱   Posts: 4110
Thank you for a good suggestion.

I'm thinking about the way to schedule syndication in the next version.
Votes:3 Average:10.00
Previous post - Next post | Parent - No child | Posted on 2008/5/8 20:16
ApeRush  企霹始   Posts: 1
is there a solution now? I use Mozilla Sunbird for my private Kalender. It would be great to import my Xoops Calendar into Sunbird, to do this i need an URL for Sunbird like http://www.mysite.org/modules/pical/icsfile.ics
with all calendar information automaticaly stored in icsfile.ics. maybe updatet each time a user changes something in the Calendar off my Homepage

Greetings ApeRush
Votes:0 Average:0.00
Previous post - Next post | Parent - No child | Posted on 2008/9/26 23:13 | Last modified
nroche  企霹始   Posts: 1
Hi,

I run this pearl robot from crontab to do this.
Be carefull with Protector Module that may reject your IP if you insist while testing it.

Nicolas.


#!/usr/bin/perl -w
use strict;
use WWW::Mechanize;
#-------------------
my $login="...";
my $passwd="...";
my $connexionUrl="http://.../index.php";
my $eventsUrl="http://.../modules/piCal/index.php?smode=List&op=all";
#-------------------
my $agent = WWW::Mechanize->new();

# Get cookie and connect
$agent->get($connexionUrl);
$agent->form_number(1);
$agent->field('uname', "$login");
$agent->field('pass', "$passwd");
$agent->click();

# Get event list
$agent->get($eventsUrl);
my $page=$agent->content; 
$agent->form_name('MainForm');
$agent->tick('dummy', 'on');

# Mark all events into checkbox
my $dummy="";
my $number="";
do {
  ($dummy, $page) = split(/<input type='checkbox' name='ids\[\]' value=/, $page, 2);
  if (defined($page))
  {
    ($dummy, $number) = split(/'/, $page, 3);
    $agent->tick('ids[]', "$number");
  }
}
while (defined($page));

# Post form
$agent->click('output_ics_confirm');

# Ask for iCalendar (Windows) format
$agent->form_number(1);
$agent->click('do_output');

# Print iCalendar file
print $agent->content;
Votes:5 Average:4.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!