Commit graph

505 commits

Author SHA1 Message Date
Robert Gaggl
aa6bd5ac93 added collection lastmod (limited to 100 objects) which is used by history_macro() 2002-12-15 13:20:18 +00:00
Robert Gaggl
c952401a3e use "skin" instead of "useskin" as parameter-propertyname 2002-12-02 13:03:56 +00:00
Robert Gaggl
42e0f21580 merged need_for_speed branch 2002-12-01 19:26:40 +00:00
578ae4537b removed CDATA tags; added xml encoding parameters, instead 2002-11-28 13:42:18 +00:00
Robert Gaggl
63658645e0 stripping tags from query before processing 2002-11-20 21:21:05 +00:00
Robert Gaggl
21aaf42839 - fixed a bug where the calendar would display the wrong month because the selected day was parsed according to site-timezone (eg. viewing day 20021001 would lead to calendar displaying september - see also http://help.antville.org/stories/189721/)
- fixed the same bug in monthlist_macro() too
2002-10-31 21:23:48 +00:00
Robert Gaggl
fd1ea8d2a3 false alarm ... reverting to rpc.weblogs.com 2002-10-31 21:05:18 +00:00
Robert Gaggl
b2bc837967 changed url of weblogs.com-ping (see http://www.xmlrpc.com/weblogsComForRss#changes103002ByDw) 2002-10-31 20:56:10 +00:00
314c66a5e5 fixed a bug that set the item title to "..." just because of missing item text 2002-10-26 11:16:03 +00:00
9060a6ccdb channel description is required according to rss specs and validator at http://feeds.archive.org/validator 2002-10-23 15:15:49 +00:00
ec149bd7cb added extra parameter for date in iso format 2002-10-23 15:13:41 +00:00
Hannes Wallnöfer
45fea41441 Make direct use of DateFormatSymbols in calendar, avoiding calling formatTimeStamp() 2002-10-21 09:25:40 +00:00
Hannes Wallnöfer
73de6d8c8c Added getDateSymbols() function that caches the date symbols for this site's locale 2002-10-21 09:22:07 +00:00
Hannes Wallnöfer
8ea6508ea3 Performance tweaking in calendar_macro: use java.text.DateFormatSymbols to print weekday labels instead of calendar object 2002-10-20 17:26:49 +00:00
Hannes Wallnöfer
bd7a120ba2 Directly return integer values in those functions which return a boolean based on
an integer flag. This works well and cuts a lot of code, especially the parseInt() which
should not be necessary (if a string was assigned to the integer flag somewhere in
the code, that would be a bug).
2002-10-18 15:51:01 +00:00
Hannes Wallnöfer
8c07801f18 backport from antville.org: prefetch children and limit weblog size to 14 days max. 2002-10-04 12:40:05 +00:00
Hannes Wallnöfer
2bb404a7f3 backport from antville.org: swallow 'main' action in URL, only fetch the fields from ACCESSLOG which are actually needed. 2002-10-04 12:35:13 +00:00
Hannes Wallnöfer
feb7c6d752 Performance improvement for calendar macro:
* When rendering the previous and next month links, now we have a
    numeric index of where to get it in the site child collection.
  * No need to check for online stories since site child collection
    only contains stories with TEXT_ISONLINE = 2 (as of today).
2002-10-04 12:20:15 +00:00
Hannes Wallnöfer
3b0a47a0c8 Only have stories as direct children that are online in weblog (TEXT_ISONLINE = 2). With this we don't need to check if stories are online in the weblog, calendar etc. 2002-10-04 11:53:59 +00:00
Hannes Wallnöfer
5fe1e28e1f Backport of antville.org changes:
- Add missing open curly bracket
- prefetch children
2002-09-20 16:14:49 +00:00
Hannes Wallnöfer
578316bf52 Backport of antville.org changes:
Directly call rss_action from rss092_action and rss10_action instead of doing
a redirect().
2002-09-20 16:13:46 +00:00
b28264bf11 no, rather use a nice en-dash 2002-09-10 15:52:10 +00:00
8e26ae825e ok, \\n does not work now using space 2002-09-10 15:51:09 +00:00
dab84c7f28 testing if \\n will be transformed into \n after xml parsing... 2002-09-10 15:45:53 +00:00
Robert Gaggl
b8f09b0e59 added return-statement in case the ping fails 2002-08-30 13:41:39 +00:00
ec025c7f26 added links to referrers and most read stories (kick that out if you don't like it here) 2002-08-28 14:36:05 +00:00
2c06d1d5f7 added missing param.year in item loop 2002-08-22 13:31:22 +00:00
Robert Gaggl
c1d41f3090 re-added file (for backwards compatibility) 2002-08-21 16:09:29 +00:00
27864b17e2 removed old commentary 2002-08-19 16:43:50 +00:00
16cf21077b replaced <% imageurl %> macro by <% image as="url" %> 2002-08-19 16:42:53 +00:00
Robert Gaggl
05e31fa7c9 minor fix (removed &nbsp; in button-value) 2002-08-15 10:56:08 +00:00
9c134a748c fixed bug that fetched title and text of a story using the old story model 2002-08-14 17:42:46 +00:00
89e7477040 removed relics of old code and fixed correct output of dates 2002-08-14 17:37:12 +00:00
50d2ddcf1f moved function rssConvertHtmlImageToHtmlLink() to global/fixRss() 2002-08-14 17:34:47 +00:00
b778a95a89 revamped rss output:
1. moved rss10Channel.skins from global to rss.skin in root and site
2. moved rss10Resource.skin from global to rssResource.skin in root and site
3. moved rss10Item.skin from global to rssItem.skin in root and site
4. moved contents of global/rssTextInput.skin into site/rss10Channel
5. renamd rss10.hac in root and site to rss.hac
2002-08-14 17:21:14 +00:00
6559186a83 renamed root/rss10.hac to root/rss.hac and created redirector function rss10_action() in root/actions.js;
did the same for site/rss10.hac;
changed occurences of "Weblog" to "Site" in rss output;
encoded e-mail addresses in root/rss output to be displayed as entities to cancel the ticket of happy spammers
2002-08-14 09:19:33 +00:00
3f448dce3e moved content of rss092.hac to function rss092_action() in site/actions.js 2002-08-14 08:55:48 +00:00
e8b9be36aa condensed the layout 2002-08-14 08:43:38 +00:00
Robert Gaggl
6a31871a95 changed monthlist_macro() ... 2002-08-14 08:20:09 +00:00
Robert Gaggl
1ef7744fb9 added wrapper-macro for imagelist 2002-08-13 20:47:47 +00:00
Robert Gaggl
a210b21760 - added param.limit to monthlist_macro()
- added wrapper-macro for topiclist (macro itself is in topicmgr)
2002-08-13 18:50:49 +00:00
Robert Gaggl
fa6dd9d9ef added beta version of monthlist_macro() 2002-08-13 16:58:55 +00:00
d9960f1f5b moved global/safejs.skin to root/safescripts.skin 2002-08-13 14:33:22 +00:00
859c54e11e now calling isModified() function for site in stylesheet_action() 2002-08-12 13:44:48 +00:00
435fc857a8 added isModified() function 2002-08-12 13:44:13 +00:00
37eb5ff10d fiexd a bug that caused exception when req.lastModified is not available 2002-08-12 12:21:56 +00:00
cd402e0f38 removed "data" too much in req.lastModified 2002-08-12 12:19:28 +00:00
44c7b7b100 added trim() when checking title to avoid empty titles in function title_macro() 2002-08-09 16:50:06 +00:00
1957638fcf turned hopobject macro colorpicker into a global macro 2002-08-09 16:47:28 +00:00
16632edb72 replaced all occurrences of "this" with the name of the corresponding prototype 2002-08-09 15:45:59 +00:00