I did a quick test, and including a <timeout> in the included file seems to work as intended: The file gets cached and re-requested after the specified timeout.
Thanks for the information
Search found 355 matches
- 10 Feb 2015, 20:41
- Forum: ManiaLink
- Topic: [Done] Make <include> cachable
- Replies: 2
- Views: 1461
- 02 Jan 2015, 20:53
- Forum: Maniaplanet Web Services
- Topic: [Solved] Different Session Timeouts?
- Replies: 4
- Views: 2183
Re: Different Session Timeouts?
The player data is cached in the session. So additional calls of getPlayer() do not result in additional ManiaConnect requests, but the cached values are used instead. This is only true for the player data; all other data is always re-requested from the webservices. (Dump $_SESSION after you authori...
- 29 Dec 2014, 18:48
- Forum: ManiaLink
- Topic: [Fixed] textprefix ignored when changing opacity through MS
- Replies: 3
- Views: 1577
Re: [Fixed] textprefix ignored when changing opacity through
Actually I use this feature/glitch/whatever quite often, especially when elements get manipulated with ManiaScript. After looking through my styles, I found the following case which (currently) can only be achieved with style+textprefix: Having a black shadow on a nearly-black font. (Which looks nic...
- 29 Dec 2014, 11:15
- Forum: ManiaLink
- Topic: [Fixed] textprefix ignored when changing opacity through MS
- Replies: 3
- Views: 1577
[Fixed] textprefix ignored when changing opacity through MS
I came across another bug when using the new styles of ManiaLink version 2. Description: When a <label> gets both style and textprefix set through a <style>, then the textprefix gets ignored as soon as the opacity of the <label> is changed using ManiaScript. This bug seems to only invole the textpre...
- 23 Dec 2014, 20:18
- Forum: ManiaLink
- Topic: [Fixed] Styles not applied correctly to Quads
- Replies: 4
- Views: 1906
Re: [Bug] Styles not applied correctly to Quads
The behavior doesn't make any sense but equates the documentation: - quads having a stylesheet style with "bgcolor" and no "style"/"image" attribute are blue... Oh, didn't saw this when I read the post. Definitely "good to know" (and very un-intuitive). Thank...
- 23 Dec 2014, 18:44
- Forum: ManiaLink
- Topic: [Done] Make <include> cachable
- Replies: 2
- Views: 1461
[Done] Make <include> cachable
I have a request regarding the <include> tag to include other XML files into the ManiaLink: Enable caching for these ressources. A possible use case for this would be to extract static content to a separate file, and to <include> it into the main ManiaLink. Such static content could be a ManiaScript...
- 23 Dec 2014, 18:32
- Forum: ManiaLink
- Topic: [Fixed] Styles not applied correctly to Quads
- Replies: 4
- Views: 1906
[Fixed] Styles not applied correctly to Quads
So I took the time to look into the new Manialink Version 2 thing, and especially experimented with the new style feature, which sounds very nice -- If it works as expected :D Description When applying a style to a Quad, it seems to get not correctly applied unless the either image or style/substyle...
- 12 Nov 2014, 21:43
- Forum: Maniaplanet Web Services
- Topic: Policy for automated ManiaHome notification posting
- Replies: 4
- Views: 6561
Re: Policy for automated ManiaHome notification posting
Are there any rules or conventions for naming the group, or can we use anything we want? And are the groups shared between all notifications, or does each MPWS-user/ManiaLink has its own set of groups? (E.g. if I post a notification with the group "download:magnetik", will it be grouped to...
- 12 Nov 2014, 18:40
- Forum: Maniaplanet Web Services
- Topic: MediaUrl and Groups on private notifications?
- Replies: 2
- Views: 1439
MediaUrl and Groups on private notifications?
So after some time I started to messing around again with the MPWS and checking out the features which have been added meanwhile. I came across the mediaUrl in notifications to display an image instead of an icon. My question is: Why does this feature not exist for private notifications? I modified ...
- 05 Mar 2014, 18:56
- Forum: ManiaLib
- Topic: ManiaLib\Manialink: our (new) PHP lib for building XML
- Replies: 19
- Views: 18252
Re: ManiaLib\Manialink: our (new) PHP lib for building XML
Starting from scratch sometimes is the best way to improve a project. I know this from my own projects ^^ I looked through the code, and I have some suggestions on how you can improve the quality of it and to make it easier to understand and thus to use. 1. Add PHP Docblocks It is important, that yo...