此代码应显示我的Google日历RSS中的所有项目,但它将显示的帖子限制为大约23:
答案 0 :(得分:1)
除非你改变了这行代码:
// ...and how many you want to display (leave at 999 for everything)
$items_to_show=999;
它应该包含999个条目(或所有,因为它提到)。
这里的脚本似乎有错误(在max_results之后缺少'= sign')。
替换为:
// Form the XML address.
$calendar_xml_address = str_replace("/basic","/full?singleevents=true&futureevents=true&max-results=".$items_to_show."&orderby=starttime&sortorder=a",$calendarfeed); //This goes and gets future events in your feed.