You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(5) |
Oct
(159) |
Nov
(123) |
Dec
(27) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(6) |
Feb
(11) |
Mar
(21) |
Apr
(29) |
May
(13) |
Jun
(2) |
Jul
(13) |
Aug
(5) |
Sep
(14) |
Oct
(21) |
Nov
(71) |
Dec
|
2004 |
Jan
(18) |
Feb
(12) |
Mar
|
Apr
(6) |
May
(29) |
Jun
(9) |
Jul
(3) |
Aug
(4) |
Sep
(7) |
Oct
(6) |
Nov
|
Dec
(20) |
2005 |
Jan
(6) |
Feb
(27) |
Mar
(4) |
Apr
(16) |
May
(61) |
Jun
(6) |
Jul
(4) |
Aug
(18) |
Sep
(19) |
Oct
(5) |
Nov
(55) |
Dec
(30) |
2006 |
Jan
(11) |
Feb
(9) |
Mar
(9) |
Apr
(26) |
May
(17) |
Jun
(3) |
Jul
(1) |
Aug
|
Sep
(20) |
Oct
|
Nov
(6) |
Dec
(9) |
2007 |
Jan
|
Feb
|
Mar
(5) |
Apr
|
May
(8) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
(3) |
Nov
|
Dec
|
2008 |
Jan
|
Feb
(17) |
Mar
(11) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2009 |
Jan
|
Feb
|
Mar
|
Apr
(4) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(7) |
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
(4) |
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Ben F. <li...@hi...> - 2005-02-25 20:44:47
|
Blaine Cook wrote: > There was a recently applied patch to the RSS feeds that allows you to > get an arbitrary x days; if you're using PHP (as I assume you are), > use MagpieRSS ( http://magpierss.sf.net ) to fetch the RSS feeds, and > you have exactly what you're looking for, available at almost zero > dependency cost within whatever code you're working on. Wow, I really hadn't thought of using RSS, what a good idea! What does MagpieRSS do with the feed exactly? Does it output an array? > > If that still doesn't make sense, let me know and I'll post some > running code. I'll have a proper look when I get chance but I will probably be back to ask for some hints at least! Also, can you think of any way of permenantly associating images with events in this way? Or at least a unique ID for each event so I can use that to refer to images with. Many Thanks for this tola -- Ben "tola" Francis http://hippygeek.co.uk ---------------------------------------------------- COMPUTER SUPPORT for small businesses and home users http://tolatech.co.uk ---------------------------------------------------- |
From: Blaine C. <la...@us...> - 2005-02-25 18:35:27
|
There was a recently applied patch to the RSS feeds that allows you to get an arbitrary x days; if you're using PHP (as I assume you are), use MagpieRSS ( http://magpierss.sf.net ) to fetch the RSS feeds, and you have exactly what you're looking for, available at almost zero dependency cost within whatever code you're working on. If that still doesn't make sense, let me know and I'll post some running code. b. On Feb 25, 2005, at 6:43 AM, Ben Francis wrote: > ===Aim=== > > I'm also working on a kind of "phpicalendar lite" as mentioned > previously on the list but I called it content management. > > I want to be able to generate a web page showing the next few events > coming up with a title, description, start date and time, end date and > time if applicable and which calendar they've come from. > > ===Problems=== > > I'm struggling a little with manipulating the master_array returned by > ical_parser.php. It would make more sense in my head if I could get > from the multidimensional format of the master_array which is > something like... > > [20050222] => Array > ( > ... > to something more like a flat table.... > > [8D69CBD9-8664-11D9-8CFA-000D936C280E-RID] => Array > ( > ... > > ===Other Questions=== > > 1) What are the dependencies of the ical_parser.php file? Does it rely > on any files other than init.incs.php, date_functions.php, > draw_functions.php, overlapping_events.php and timezones.php? If not, > can I use the functions directory on its own without the rest of > phpicalendar in an entirely separate directory? > > 2) I'd really like to be able to associate images with events and I'm > not sure how to achieve this. Perhaps I could create a directory of > images with the directory name matching the UID of the events. Or > perhaps I should generate a MySQL database from the .ics file with > UIDs and fields for image paths. I could even create a table from the > array I'm trying to create and store all the calendar data in the > database to increase the speed of execution. > > There's a good chance I'm approaching this in entirely the wrong way. > If so, please put me out of my misery! > > Thanks > > tola |
From: Ben F. <li...@hi...> - 2005-02-25 14:44:20
|
Chad Little wrote: > It is fairly modular. If you know PHP arrays it is very simple. At the > end of ical_parser are some comment tags, uncomment the $master_array > and you will see our structure. Each page (day, week, month, ect) is > simply a different manipulation of this array. ===Aim=== I'm also working on a kind of "phpicalendar lite" as mentioned previously on the list but I called it content management. I want to be able to generate a web page showing the next few events coming up with a title, description, start date and time, end date and time if applicable and which calendar they've come from. ===Problems=== I'm struggling a little with manipulating the master_array returned by ical_parser.php. It would make more sense in my head if I could get from the multidimensional format of the master_array which is something like... [20050222] => Array ( [1600] => Array ( [8D69CBD9-8664-11D9-8CFA-000D936C280E-RID] => Array ( [event_start] => 1600 [event_end] => 1700 [display_end] => [start_unixtime] => 1109088000 [end_unixtime] => 1109091600 [event_text] => Recurring+Event [event_length] => 3600 [event_overlap] => 0 [description] => [status] => [class] => [spans_day] => [location] => [organizer] => a:0:{} [attendee] => a:0:{} [calnumber] => 1 [calname] => exhibitions [url] => [recur] => Array ( [FREQ] => daily [INTERVAL] => 1 [UNTIL] => February 25 ) ) ) to something more like a flat table.... [8D69CBD9-8664-11D9-8CFA-000D936C280E-RID] => Array ( [event_text] => Recurring+Event [start_date] => 20050222 [end_date] => 20050225 [start_time] => 1600 [end_time] => 1700 [calname] => exhibitions ) This might be similar to what the draw_print function in functions/template.php does, but... well I don't understand it! My main problems are: 1) A recurring event only needs to appear once 2) I need to get an end date for recurring events 3) My skills with PHP arrays are very limited. ===Other Questions=== 1) What are the dependencies of the ical_parser.php file? Does it rely on any files other than init.incs.php, date_functions.php, draw_functions.php, overlapping_events.php and timezones.php? If not, can I use the functions directory on its own without the rest of phpicalendar in an entirely separate directory? 2) I'd really like to be able to associate images with events and I'm not sure how to achieve this. Perhaps I could create a directory of images with the directory name matching the UID of the events. Or perhaps I should generate a MySQL database from the .ics file with UIDs and fields for image paths. I could even create a table from the array I'm trying to create and store all the calendar data in the database to increase the speed of execution. There's a good chance I'm approaching this in entirely the wrong way. If so, please put me out of my misery! Thanks tola -- Ben "tola" Francis http://hippygeek.co.uk ---------------------------------------------------- COMPUTER SUPPORT for small businesses and home users http://tolatech.co.uk ---------------------------------------------------- |
From: Chad L. <ch...@ch...> - 2005-02-13 19:24:17
|
Wow cool! The CVS Viewer of SF.net is always about a day behind. Since you added some new functionality, please comment aboout it in the readme. I checked CVS and your changes are present. Thanks, Chad On Feb 13, 2005, at 10:26 AM, Jim Hu wrote: > OK, sorry if I did this clunkily, but after all these months I think I > have cvs working on my Mac (it was working on my mac all along, but > not in my brain). I've uploaded the modifications to allow calendars > to be placed in different subdirectories and to have these specified > by the $_REQUEST variable cpath. I also uploaded major changes to > rss.php that base all of the feeds on asking for a range of dates. > Requesting week and month now calculates these ranges and treats them > like any other range. This also allows there to be only one block of > code to actually generate the XML/RSS instead of three. I've done > some weirdness with that to fit my own needs - some of my changes > there probably need to be undone in the long term goal of following > RSS standards. > > Chad, please let me know if this worked. When I tried just now to > look at the CVS repository via browser, it didn't work...I hope I > didn't break something. > > Jim Hu > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real > users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Phpicalendar-devel mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel |
From: Jim Hu <ji...@ta...> - 2005-02-13 18:26:45
|
OK, sorry if I did this clunkily, but after all these months I think I have cvs working on my Mac (it was working on my mac all along, but not in my brain). I've uploaded the modifications to allow calendars to be placed in different subdirectories and to have these specified by the $_REQUEST variable cpath. I also uploaded major changes to rss.php that base all of the feeds on asking for a range of dates. Requesting week and month now calculates these ranges and treats them like any other range. This also allows there to be only one block of code to actually generate the XML/RSS instead of three. I've done some weirdness with that to fit my own needs - some of my changes there probably need to be undone in the long term goal of following RSS standards. Chad, please let me know if this worked. When I tried just now to look at the CVS repository via browser, it didn't work...I hope I didn't break something. Jim Hu |
From: Jim Hu <ji...@ta...> - 2005-02-12 05:30:08
|
My efforts to find the time to learn CVS are ongoing...I've emailed Brett some files directly. On Feb 11, 2005, at 10:15 PM, php...@li... wrote: <snip> > Message: 1 > To: php...@li... > From: Brett Coleman <bc...@ne...> > Date: Fri, 11 Feb 2005 01:06:49 -0600 > Subject: [PHPiCalendar-DEV] Re: phpicalendar lite > Reply-To: php...@li... > > This is my first post. Please forgive me if not in order. Having a > simple parsing file would be fantastic. It appears that Mr. Hu has done > this here: > http://molbio.tamu.edu/index.php?linkname=Home&content=seminars > > as mentioned previously: > http://sourceforge.net/mailarchive/forum.php? > thread_id=5304995&forum_id=12293 > > Anyone care to simply share the code that can do this or post it > somewhere where one could simply hack it to our needs? I have multiple > sites I'm developing that could use this functionality (simply listing > the next XX events or XX days from an .ics file) dropped onto a PHP > page. > > I'm not as much a PHP guru as I'd like to be, but having an example > would allow me and others to make changes as necessary, and > phpicalendar has just a few too many functions/files/variables to cover > and eliminate for a simple list. > > Thanks, > Brett > > > > > --__--__-- > > _______________________________________________ > Phpicalendar-devel mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel > > > End of Phpicalendar-devel Digest |
From: Brett C. <bc...@ne...> - 2005-02-11 07:06:55
|
This is my first post. Please forgive me if not in order. Having a simple parsing file would be fantastic. It appears that Mr. Hu has done this here: http://molbio.tamu.edu/index.php?linkname=Home&content=seminars as mentioned previously: http://sourceforge.net/mailarchive/forum.php? thread_id=5304995&forum_id=12293 Anyone care to simply share the code that can do this or post it somewhere where one could simply hack it to our needs? I have multiple sites I'm developing that could use this functionality (simply listing the next XX events or XX days from an .ics file) dropped onto a PHP page. I'm not as much a PHP guru as I'd like to be, but having an example would allow me and others to make changes as necessary, and phpicalendar has just a few too many functions/files/variables to cover and eliminate for a simple list. Thanks, Brett |
From: Todd S. <to...@we...> - 2005-02-11 01:18:27
|
The problem was with php.ini--max_memory was at 8M, I just upped it and all the calendars now display. Todd Chad Little wrote: > My guess would be that limit would depend on your hardware. I've tested > it fine with larger calendars. > > On Feb 10, 2005, at 9:24 AM, Todd Slater wrote: > >> I noticed a calendar of about 700K causes the combined/all calendars >> not to display; I can display it by itself, however. Is there some >> sort of size limit involved with combined calendars? I'm running 2.0 >> from cvs. |
From: Todd S. <to...@we...> - 2005-02-10 19:21:07
|
Thanks, I'll look into it. Todd Chad Little wrote: > My guess would be that limit would depend on your hardware. I've tested > it fine with larger calendars. > > On Feb 10, 2005, at 9:24 AM, Todd Slater wrote: > >> I noticed a calendar of about 700K causes the combined/all calendars >> not to display; I can display it by itself, however. Is there some >> sort of size limit involved with combined calendars? I'm running 2.0 >> from cvs. |
From: Chad L. <ch...@ch...> - 2005-02-10 18:11:45
|
It is fairly modular. If you know PHP arrays it is very simple. At the=20= end of ical_parser are some comment tags, uncomment the $master_array=20 and you will see our structure. Each page (day, week, month, ect) is=20 simply a different manipulation of this array. -C On Feb 9, 2005, at 6:04 PM, ze...@bo... wrote: > i was looking for a solution where a client could publish an iCal file > from their powerbook and have upcoming events parsed and listed on a > webpage. i found this project which seems to sorta do this and alot=20= > more. > it's really well done, but over-kill for my needs. > > i hacked up the month view and associated template to get a > close-to-desired effect, but it still is very calendar quantized=20 > (month, > day, year centric). i really just want to lists the next so many=20 > events > in a simple format. > > i'm starting to get a small handle on the project code but it's still > imtimidating. any suggestions on how to approach this and maybe fork = a > really lite version... a simple iCal parser thingy? > > .scott > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real=20 > users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=3Dclick > _______________________________________________ > Phpicalendar-devel mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel |
From: Chad L. <ch...@ch...> - 2005-02-10 18:09:50
|
My guess would be that limit would depend on your hardware. I've tested it fine with larger calendars. On Feb 10, 2005, at 9:24 AM, Todd Slater wrote: > I noticed a calendar of about 700K causes the combined/all calendars > not to display; I can display it by itself, however. Is there some > sort of size limit involved with combined calendars? I'm running 2.0 > from cvs. > > Todd > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real > users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Phpicalendar-devel mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel |
From: Todd S. <to...@we...> - 2005-02-10 17:24:30
|
I noticed a calendar of about 700K causes the combined/all calendars not to display; I can display it by itself, however. Is there some sort of size limit involved with combined calendars? I'm running 2.0 from cvs. Todd |
From: Alex J. <al...@ph...> - 2005-02-10 17:13:10
|
I think there's GREAT interest in this...Either it would show the next...say, 5 events, or perhaps something that would show, in text form, events for the next 2 or 3 days. there was traffic on this list a long time ago looking for such things, so, if even you don't officially fork the file, make your work available for download, please!! ---Alex Johnson ze...@bo... said: > i was looking for a solution where a client could publish an iCal file > from their powerbook and have upcoming events parsed and listed on a > webpage. i found this project which seems to sorta do this and alot mo= re. > it's really well done, but over-kill for my needs. > > i hacked up the month view and associated template to get a > close-to-desired effect, but it still is very calendar quantized (month= , > day, year centric). i really just want to lists the next so many event= s > in a simple format. > > i'm starting to get a small handle on the project code but it's still > imtimidating. any suggestions on how to approach this and maybe fork a > really lite version... a simple iCal parser thingy? > > .scott > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users= . > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=3Dclick > _______________________________________________ > Phpicalendar-devel mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel > Have you seen Phantom Citizen yet? http://www.phantomcitizen.net |
From: Wesley M. <we...@we...> - 2005-02-10 05:05:51
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Todd, >> I believe it is the case that if you list all a user's public >> calendars in apache_map, they will be seen combined instead of >> individually. But only when that user is logged in via HTTP >> authentication. If you want everyone to see that user's public >> calendars combined...I don't think that is supported right now. > > I thought about using those options at the end of the config.inc.php > file, but realized it would be an administrative nightmare if there > are many users and many calendars. I suppose one could run a cron job > to search for calendar files in a certain user's directory, but then > the user would have to wait until it ran...and I'd like to make simple > viewing of calendars in a user's public calendar directory not require > any authentication. Yeah. I suggest you hack something up in functions/calendar_functions.php to return the correct list of calendars based on your particular setup. If you get something integrated well but in a generic fashion, perhaps you can submit it as a feature request. >> To block private calendars, they need to be added to the locked_cals >> list in config.inc.php. Unfortunately there currently is no way to >> specify a list of directories or a regular expression to identify >> locked calendars. Maybe a good thing to add to the feature requests >> on SourceForge. > > Yes, will do. If you want to make this work for your site in the meantime, play around with functions/calendar_functions.php. >>> Is there any way to have each user's public directory be the "root" >>> as defined in the config.inc.php? I'm a little concerned about the >>> private directory being readable through phpicalendar, but for now >>> it's no big deal since I can just exclude it from the path. >> >> Not sure what you want to do here? Can you give an example of what >> you want your config.inc.php to look like? > > Basically I want it to work as if I had phpicalendar installed in > every users' public calendar directory so that visiting > http://domain.com/calendars/public/user displays all calendars found > in that directory at once. > > Here's what I have done (seems to work OK), but it seems like it > should be easier ;) > > 1. installed phpicalendar in a web directory > > 2. linked to all files/directories contained in phpicalendar from > users' public calendar directory *except* config.inc.php > > 3. copied a generic config.inc.php and replaced the line about > calendar path as appropriate (this is different for each user) > > I did the same thing for private calendar directories, and as > expected, the user gets prompted for credentials to even view the > calendars. > > I'm not sure if I'm making any sense here, and there's probably a > better way of explaining what I was after. I've hacked some php but > I'm not particularly qualified to see how easy it would be to make > this set up possible out of the box... Yeah. I think you should use a combination of the HTTP authentication and the referring URL to modify functions/calendar_functions.php so as to show only the calendars appropriate to the user's web space. I think that should give you exactly what you want without having to copy config.inc.php for every user. You could also create a new users.php file in the single PHPiCalendar directory (remove the .php if desired by adding an entry to specify the default file type and handler in .htaccess), then use functions/calendar_functions.php with the query path to get into a specific user's directory. e.g. http://www.domain.com/users.php/wesley/ This also removes the need to link files in user directories. Adding or removing a user would only require creating/deleting/locking out directories and updating your htpasswd file. Hope this helps, - -- Wesley Miaw http://www.wesman.net/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (Darwin) iD8DBQFCCuurQv4agqRAk2kRAmtfAKCT7oy64z8pV1Ch/i3F9eRB8/WpsACgmnoF tyqNs+/cbkAUSFFibIShMKI= =KrYg -----END PGP SIGNATURE----- |
From: Wesley M. <we...@we...> - 2005-02-10 04:58:51
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, You probably just want the parts of PHPiCalendar that parse the .ics file and create the Calendar object. Once you've got that, you can pull out individual items and display them however you want. Just use the files that are called by the display files (e.g. you want stuff like ical_parser.php in the functions directory) for your own version of day.php. I think that's the gist of things. Chad might be able to give you some more direction. Later, Wes On Feb 9, 2005, at 6:04 PM, ze...@bo... wrote: > i was looking for a solution where a client could publish an iCal file > from their powerbook and have upcoming events parsed and listed on a > webpage. i found this project which seems to sorta do this and alot > more. > it's really well done, but over-kill for my needs. > > i hacked up the month view and associated template to get a > close-to-desired effect, but it still is very calendar quantized > (month, > day, year centric). i really just want to lists the next so many > events > in a simple format. > > i'm starting to get a small handle on the project code but it's still > imtimidating. any suggestions on how to approach this and maybe fork a > really lite version... a simple iCal parser thingy? > > .scott - -- Wesley Miaw http://www.wesman.net/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (Darwin) iD8DBQFCCuoFQv4agqRAk2kRAl/nAKCQBj0Ciu5cMIz3EWk0ShOhoSsarACeMbBy 8bG3USae0QZSAYTlVX6jrYI= =Fjl7 -----END PGP SIGNATURE----- |
From: Todd S. <to...@we...> - 2005-02-10 03:32:02
|
Hi Wesley, Thanks for the response. Comments interspersed... Wesley Miaw wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi Todd, > >> I couldn't find an answer in the README or the list archives, so here >> goes. I'm using webDAV to allow folks to publish calendars, but I've >> created a structure like this: >> >> /var/www/calendars/public/user1 user2 etc. >> /var/www/calendars/private/user1 user2 etc. >> >> In an httpd conf file I have the directory options set so that anybody >> can read public calendars but only the user can publish; for private >> calendars, only the user can read and publish. >> >> What I'd like to do is use phpicalendar so that each user could see >> his/her public calendars combined, but I haven't been able to find a >> way to do that. It seems I would have to have a separate config file >> for each to point to the users public calendar directory. > > > I believe it is the case that if you list all a user's public calendars > in apache_map, they will be seen combined instead of individually. But > only when that user is logged in via HTTP authentication. If you want > everyone to see that user's public calendars combined...I don't think > that is supported right now. I thought about using those options at the end of the config.inc.php file, but realized it would be an administrative nightmare if there are many users and many calendars. I suppose one could run a cron job to search for calendar files in a certain user's directory, but then the user would have to wait until it ran...and I'd like to make simple viewing of calendars in a user's public calendar directory not require any authentication. >> Just playing around I pointed to /var/www/calendars as the path to >> calendars. I then noticed that I could add >> "month.php?cal=public/user1/calendarname" to display a particular >> calendar, but not combined calendars. >> >> Then I noticed that I could even do >> "month.php?cal=private/user1/privatecalendar" and the calendar would >> display, even though I was not authenticated (http basic). I assumed >> it would not display since trying to access it directly in a browser >> prompts for credentials. > > > To block private calendars, they need to be added to the locked_cals > list in config.inc.php. Unfortunately there currently is no way to > specify a list of directories or a regular expression to identify locked > calendars. Maybe a good thing to add to the feature requests on > SourceForge. Yes, will do. > Then map locked_cals calendars to users in apache_map to allow users to > see their private calendars. > >> Is there any way to have each user's public directory be the "root" as >> defined in the config.inc.php? I'm a little concerned about the >> private directory being readable through phpicalendar, but for now >> it's no big deal since I can just exclude it from the path. > > > Not sure what you want to do here? Can you give an example of what you > want your config.inc.php to look like? Basically I want it to work as if I had phpicalendar installed in every users' public calendar directory so that visiting http://domain.com/calendars/public/user displays all calendars found in that directory at once. Here's what I have done (seems to work OK), but it seems like it should be easier ;) 1. installed phpicalendar in a web directory 2. linked to all files/directories contained in phpicalendar from users' public calendar directory *except* config.inc.php 3. copied a generic config.inc.php and replaced the line about calendar path as appropriate (this is different for each user) I did the same thing for private calendar directories, and as expected, the user gets prompted for credentials to even view the calendars. I'm not sure if I'm making any sense here, and there's probably a better way of explaining what I was after. I've hacked some php but I'm not particularly qualified to see how easy it would be to make this set up possible out of the box... Best, Todd |
From: <ze...@bo...> - 2005-02-10 01:36:32
|
i was looking for a solution where a client could publish an iCal file from their powerbook and have upcoming events parsed and listed on a webpage. i found this project which seems to sorta do this and alot more= . it's really well done, but over-kill for my needs. i hacked up the month view and associated template to get a close-to-desired effect, but it still is very calendar quantized (month, day, year centric). i really just want to lists the next so many events in a simple format. i'm starting to get a small handle on the project code but it's still imtimidating. any suggestions on how to approach this and maybe fork a really lite version... a simple iCal parser thingy? .scott |
From: Ben F. <li...@hi...> - 2005-02-09 19:31:43
|
Chad Little wrote: > HI, we don't have support for the URL property tag of RFC2445. To my > knowledge I haven't seen an application that uses is and it's never > been requested by our audience. Erm, Apple iCal, Mozilla Calendar? I presume I'm referring to the right part of the RFC. A URL attached to an event. > > You can put URLs directly into the Description field and we'll convert > them into an href upon displace. I also believe we do this for the > Location field as well. Oh OK. Just a note on this, whilst experimenting I've noticed that URLs in the description field don't work consistently between normal view and printer friendly view if written in HTML. For example, if I type... <a href="http://example.com/page.htm">more...</a> into a description field, if you click on the event in a normal view you get a popup in which the HTML breaks. If you go to printer friendly view, the HTML is parsed correctly and works as intended. If you don't use HTML and just type a URL in plain text, it becomes a link as you describe in normal view and is not clickable in printer friendly view which is fair enough. A demo of this can be seen at: http://www.catmosearts.co.uk/calendar/week.php?cal=all_calendars_combined971&getdate=20050209 I suppose this is just because you're not supposed to put HTML in event descriptions! But the inconsistency is a little frustrating. > > If you want to submit a feature request, please do so on the > Sourceforge site and attach a sample calendar. OK, thanks :) Ben -- Ben "tola" Francis http://hippygeek.co.uk ---------------------------------------------------- COMPUTER SUPPORT for small businesses and home users http://tolatech.co.uk ---------------------------------------------------- |
From: Chad L. <ch...@ch...> - 2005-02-09 18:11:34
|
HI, we don't have support for the URL property tag of RFC2445. To my knowledge I haven't seen an application that uses is and it's never been requested by our audience. You can put URLs directly into the Description field and we'll convert them into an href upon displace. I also believe we do this for the Location field as well. If you want to submit a feature request, please do so on the Sourceforge site and attach a sample calendar. Thanks, Chad On Feb 9, 2005, at 10:00 AM, Ben Francis wrote: > Hi all. > > I can't seem to get phpicalendar to display the URLs associated with > calendar objects. Each event in my calendar has a web page associated > with it which gives further details (retrieved from a mysql database) > about the event. I had toyed with the idea of actually putting this > data within the iCal file itself, but I don't think it's flexible > enough. I need to be able to separate it into lots of fields such as > "price" "film rating" and things. So I'm trying to put a link in each > calendar object to point to more information. > > Is the URL feature of calendar events turned off in phpicalendar on > purpose, perhaps because of security issues? Is it possible to turn it > on? Are there issues associated with this? > > Many Thanks > > Ben > > > Extract from Internet Calendaring and Scheduling Core Object > Specification which I think is relevant > (http://www.faqs.org/rfcs/rfc2445.html): > =========================================== > 4.8.4.6 Uniform Resource Locator > > Property Name: URL > > Purpose: This property defines a Uniform Resource Locator (URL) > associated with the iCalendar object. > > Value Type: URI > > Property Parameters: Non-standard property parameters can be > specified on this property. > > Conformance: This property can be specified once in the "VEVENT", > "VTODO", "VJOURNAL" or "VFREEBUSY" calendar components. > > Description: This property may be used in a calendar component to > convey a location where a more dynamic rendition of the calendar > information associated with the calendar component can be found. This > memo does not attempt to standardize the form of the URI, nor the > format of the resource pointed to by the property value. If the URL > property and Content-Location MIME header are both specified, they > MUST point to the same resource. > > Format Definition: The property is defined by the following notation: > > url = "URL" urlparam ":" uri CRLF > > urlparam = *(";" xparam) > > Example: The following is an example of this property: > > URL:http://abc.com/pub/calendars/jsmith/mytime.ics > > -- > Ben "tola" Francis http://hippygeek.co.uk > ---------------------------------------------------- > COMPUTER SUPPORT for small businesses and home users > http://tolatech.co.uk > ---------------------------------------------------- > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real > users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Phpicalendar-devel mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel |
From: Ben F. <li...@hi...> - 2005-02-09 18:00:36
|
Hi all. I can't seem to get phpicalendar to display the URLs associated with calendar objects. Each event in my calendar has a web page associated with it which gives further details (retrieved from a mysql database) about the event. I had toyed with the idea of actually putting this data within the iCal file itself, but I don't think it's flexible enough. I need to be able to separate it into lots of fields such as "price" "film rating" and things. So I'm trying to put a link in each calendar object to point to more information. Is the URL feature of calendar events turned off in phpicalendar on purpose, perhaps because of security issues? Is it possible to turn it on? Are there issues associated with this? Many Thanks Ben Extract from Internet Calendaring and Scheduling Core Object Specification which I think is relevant (http://www.faqs.org/rfcs/rfc2445.html): =========================================== 4.8.4.6 Uniform Resource Locator Property Name: URL Purpose: This property defines a Uniform Resource Locator (URL) associated with the iCalendar object. Value Type: URI Property Parameters: Non-standard property parameters can be specified on this property. Conformance: This property can be specified once in the "VEVENT", "VTODO", "VJOURNAL" or "VFREEBUSY" calendar components. Description: This property may be used in a calendar component to convey a location where a more dynamic rendition of the calendar information associated with the calendar component can be found. This memo does not attempt to standardize the form of the URI, nor the format of the resource pointed to by the property value. If the URL property and Content-Location MIME header are both specified, they MUST point to the same resource. Format Definition: The property is defined by the following notation: url = "URL" urlparam ":" uri CRLF urlparam = *(";" xparam) Example: The following is an example of this property: URL:http://abc.com/pub/calendars/jsmith/mytime.ics -- Ben "tola" Francis http://hippygeek.co.uk ---------------------------------------------------- COMPUTER SUPPORT for small businesses and home users http://tolatech.co.uk ---------------------------------------------------- |
From: Wesley M. <we...@we...> - 2005-02-09 03:54:09
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Todd, > I couldn't find an answer in the README or the list archives, so here > goes. I'm using webDAV to allow folks to publish calendars, but I've > created a structure like this: > > /var/www/calendars/public/user1 user2 etc. > /var/www/calendars/private/user1 user2 etc. > > In an httpd conf file I have the directory options set so that anybody > can read public calendars but only the user can publish; for private > calendars, only the user can read and publish. > > What I'd like to do is use phpicalendar so that each user could see > his/her public calendars combined, but I haven't been able to find a > way to do that. It seems I would have to have a separate config file > for each to point to the users public calendar directory. I believe it is the case that if you list all a user's public calendars in apache_map, they will be seen combined instead of individually. But only when that user is logged in via HTTP authentication. If you want everyone to see that user's public calendars combined...I don't think that is supported right now. > Just playing around I pointed to /var/www/calendars as the path to > calendars. I then noticed that I could add > "month.php?cal=public/user1/calendarname" to display a particular > calendar, but not combined calendars. > > Then I noticed that I could even do > "month.php?cal=private/user1/privatecalendar" and the calendar would > display, even though I was not authenticated (http basic). I assumed > it would not display since trying to access it directly in a browser > prompts for credentials. To block private calendars, they need to be added to the locked_cals list in config.inc.php. Unfortunately there currently is no way to specify a list of directories or a regular expression to identify locked calendars. Maybe a good thing to add to the feature requests on SourceForge. Then map locked_cals calendars to users in apache_map to allow users to see their private calendars. > Is there any way to have each user's public directory be the "root" as > defined in the config.inc.php? I'm a little concerned about the > private directory being readable through phpicalendar, but for now > it's no big deal since I can just exclude it from the path. Not sure what you want to do here? Can you give an example of what you want your config.inc.php to look like? Later, - -- Wesley Miaw http://www.wesman.net/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (Darwin) iD8DBQFCCYlWQv4agqRAk2kRAn62AJ4lzkOCuMqcIj51y7ZQuzI8ODdFWACgoLkg zKhMqWrrS7N2XeJDTyDz/GM= =kiwE -----END PGP SIGNATURE----- |
From: Todd S. <to...@we...> - 2005-02-08 22:07:27
|
I couldn't find an answer in the README or the list archives, so here goes. I'm using webDAV to allow folks to publish calendars, but I've created a structure like this: /var/www/calendars/public/user1 user2 etc. /var/www/calendars/private/user1 user2 etc. In an httpd conf file I have the directory options set so that anybody can read public calendars but only the user can publish; for private calendars, only the user can read and publish. What I'd like to do is use phpicalendar so that each user could see his/her public calendars combined, but I haven't been able to find a way to do that. It seems I would have to have a separate config file for each to point to the users public calendar directory. Just playing around I pointed to /var/www/calendars as the path to calendars. I then noticed that I could add "month.php?cal=public/user1/calendarname" to display a particular calendar, but not combined calendars. Then I noticed that I could even do "month.php?cal=private/user1/privatecalendar" and the calendar would display, even though I was not authenticated (http basic). I assumed it would not display since trying to access it directly in a browser prompts for credentials. Is there any way to have each user's public directory be the "root" as defined in the config.inc.php? I'm a little concerned about the private directory being readable through phpicalendar, but for now it's no big deal since I can just exclude it from the path. Advice or suggestions are most welcome. Thanks, Todd |
From: <ms...@fr...> - 2005-02-05 22:00:32
|
Has anyone expressed interest in maintaining a Debian PHPiCalendar package? I've been happily using this package for a little while - http://cgi.sfu.ca/~jdbates/debian/pool/phpicalendar/ I need to sort out the PHP dependancy - & publishing support - but I was then considering submitting it to the Debian distribution. What are your thoughts? Thanks! Jack |
From: Wesley M. <we...@we...> - 2005-01-29 19:16:05
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Have you tried checking your error log file? I think you are having a general authentication issue with your server configuration. I was able to enable HTTP authentication and upload a file without any problems. > I have a problem when trying to publish a calendar to > phpicalendar with http authentication. When I remove > my .htaccess file everything works, as soon as I add > it back iCal cannot publish. > > - I have tried both basic and digest auth. > - I have checked the username/password used in iCal. > - I have checked that I can access the page in a > webbrowser if I enter the username passwd. > - Nothing appears in the publish_log.txt file. > > Here is my .htaccess file: > AuthType Basic > AuthName "Restricted Area" > AuthUserFile > "/home2/apineapp/.htpasswds/calendar/passwd" > require valid-user > > I have tried this on the released version of > phpicalendar and the 2.0 beta. My web host is using > Apache 1.3.33 with PHP 4.3.10 (it is with hosting > company so there is nothing I can do with the > httpd.conf files). > > There is nothing in the Apache error log. In the > access log I see: > 69.196.163.140 - - [15/Jan/2005:16:50:40 -0500] "PUT > /admin/calendar/calendars/publish.ical.php/Home.ics > HTTP/1.1" 401 2503 "-" "DAVKit/0.1" > 69.196.163.140 - - [15/Jan/2005:16:51:19 -0500] "PUT > /admin/calendar/calendars/publish.ical.php/Home.ics > HTTP/1.1" 401 2502 "-" "DAVKit/0.1" > > If I remove the .htaccess file I get: > 69.196.163.140 - - [15/Jan/2005:17:11:47 -0500] "PUT > /admin/calendar/calendars/publish.ical.php/Home.ics > HTTP/1.1" 500 2656 "-" "DAVKit/0.1" > 69.196.163.140 - - [15/Jan/2005:17:17:16 -0500] "PUT > /admin/calendar/calendars/publish.ical.php/Home.ics > HTTP/1.1" 200 5 "-" "DAVKit/0.1" > > So it looks to me that iCal is not sending the > username (no user is listed in the access log) and > getting a 401 response or for some other reason it's > not being authenticated. I wondered if my host > company httpd.conf file had stopped PUTs into > directories, but it does work if my .htaccess file is > removed so it can't be that. - -- Wesley Miaw http://www.wesman.net/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (Darwin) iD8DBQFB++DvQv4agqRAk2kRAhL3AKCqLK72QiBjPiC8oX9PhXUxzZUaEQCfcc8x BA7jDtGm5C4u3PPZ6koOzGk= =Fii5 -----END PGP SIGNATURE----- |
From: Chad <ch...@ch...> - 2005-01-27 19:18:08
|
I wish I knew, but I'm not well versed in HTTP Auth. Sorry. -Chad On Jan 18, 2005, at 7:45 PM, Wesley Miaw wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I never tried the publish stuff. Chad, is it possible that with HTTP > Auth working for the admin section, PUT doesn't work? Maybe you would > know off the top of your head. If not, I can try to investigate more. > > On Jan 18, 2005, at 7:33 PM, kiz_0987 wrote: > >> I have a problem when trying to publish a calendar to >> phpicalendar with http authentication. When I remove >> my .htaccess file everything works, as soon as I add >> it back iCal cannot publish. >> >> - I have tried both basic and digest auth. >> - I have checked the username/password used in iCal. >> - I have checked that I can access the page in a >> webbrowser if I enter the username passwd. >> - Nothing appears in the publish_log.txt file. >> >> Here is my .htaccess file: >> AuthType Basic >> AuthName "Restricted Area" >> AuthUserFile >> "/home2/apineapp/.htpasswds/calendar/passwd" >> require valid-user >> >> I have tried this on the released version of >> phpicalendar and the 2.0 beta. My web host is using >> Apache 1.3.33 with PHP 4.3.10 (it is with hosting >> company so there is nothing I can do with the >> httpd.conf files). >> >> There is nothing in the Apache error log. In the >> access log I see: >> 69.196.163.140 - - [15/Jan/2005:16:50:40 -0500] "PUT >> /admin/calendar/calendars/publish.ical.php/Home.ics >> HTTP/1.1" 401 2503 "-" "DAVKit/0.1" >> 69.196.163.140 - - [15/Jan/2005:16:51:19 -0500] "PUT >> /admin/calendar/calendars/publish.ical.php/Home.ics >> HTTP/1.1" 401 2502 "-" "DAVKit/0.1" >> >> If I remove the .htaccess file I get: >> 69.196.163.140 - - [15/Jan/2005:17:11:47 -0500] "PUT >> /admin/calendar/calendars/publish.ical.php/Home.ics >> HTTP/1.1" 500 2656 "-" "DAVKit/0.1" >> 69.196.163.140 - - [15/Jan/2005:17:17:16 -0500] "PUT >> /admin/calendar/calendars/publish.ical.php/Home.ics >> HTTP/1.1" 200 5 "-" "DAVKit/0.1" >> >> So it looks to me that iCal is not sending the >> username (no user is listed in the access log) and >> getting a 401 response or for some other reason it's >> not being authenticated. I wondered if my host >> company httpd.conf file had stopped PUTs into >> directories, but it does work if my .htaccess file is >> removed so it can't be that. > - -- > Wesley Miaw > http://www.wesman.net/ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.3 (Darwin) > > iD8DBQFB7dfLQv4agqRAk2kRAmR1AJ9t13qHL63EzfvhM9Uc/fKbpV4A0ACgqC2N > YmL9PpiLBB239fssGT4OFrc= > =LjKD > -----END PGP SIGNATURE----- > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Phpicalendar-devel mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel |