php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18508 Events calendar should be more reasonable with years
Submitted: 2002-07-23 14:51 UTC Modified: 2002-12-17 10:41 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: toni dot viemero at iki dot fi Assigned: goba (profile)
Status: Closed Package: Website problem
PHP Version: 4.2.2 OS: Irrelevant
Private report: No CVE-ID: None
 [2002-07-23 14:51 UTC] toni dot viemero at iki dot fi
Events Calendar could be a little more reasonable with repeating events.

http://fi.php.net/cal.php?id=484&cm=1&cy=1971
http://fi.php.net/cal.php?id=484&cm=1&cy=2025

I'm getting a bit frustrated trying to get ht://Dig running on my mirror and it does "a bit" indexing on Events :)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-16 11:51 UTC] goba@php.net
I have added some code now to prevent links to pop up for "too old" or "too future" dates, and to make these links default to the current year. Please test as the code goes up, and provide feedback if you are satisfied with the restrictions or not... If not, then what else would be the target for restriction? Is cal.php now OK for search engine indexing?
 [2002-12-16 14:30 UTC] goba@php.net
OK, so now you cannot go more back then this page:
http://fi.php.net/cal.php?cm=01&cy=2000

And cannot go forth than this page:
http://fi.php.net/cal.php?cm=12&cy=2004

If you try, the year is set to the current year (2002).
This should be ok to make the page search engine compliant, I hope so. Please provide feedback :)
 [2002-12-17 03:38 UTC] toni dot viemero at iki dot fi
Now it's working great. No more n^2 indexable pages with repeating events.
 [2002-12-17 10:41 UTC] goba@php.net
Fixed => Closed.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jun 26 14:01:32 2024 UTC