Page 3 of 5
Posted: Thu Oct 27, 2005 6:23 pm
by mgroeninger
Trograin, you can ignore my note about javascript... that was aimed at oxygenws..
About your problem, it looks like the ampersand throws the xml parser off...
You can encode the ampersand like this:
<link name="Miljöministeriet" link="
http://www.miljo.fi/default.asp?node=17&lan=sv" />
And the link should work. I'll have a look at the code and see what I can do about replacing ampersands with an encoded string... There are probably some other characters that do the same thing that I don't know about...
Posted: Thu Oct 27, 2005 9:42 pm
by oxygenws
Omid, if you would like to take a shot at using javascript to open the windows, feel free...
Thanks, ok, i'll work on this issue.
And the link should work. I'll have a look at the code and see what I can do about replacing ampersands with an encoded string... There are probably some other characters that do the same thing that I don't know about...
Nice bug

Thanks Matt, thanks Trograin.
I have a very long link list that I wold lketo implement.
as a NOTE....
you can add unlimited links and unlimited directories and unlimited subdirectories under your directories, until your limited PHP memory become full

Posted: Thu Oct 27, 2005 11:57 pm
by oxygenws
There is a problem with your request and another friends request in the followind link:
http://www.s9y.org/forums/viewtopic.php?p=15988
for his request i need to change "<a href=...." to "<a onclick=\"window.open....." to CAN set width and height of new pages (this works fine, now)
but how can i add TARGET to this feature?!
i think window.open ALWAYS opens a new window, not self nor parent nor ...
do you have any suggestion for it?
(sorry to cross posting, really i donno where is better!!!)
Posted: Fri Oct 28, 2005 12:23 am
by mgroeninger
So far as I know, you are right that window.open() always opens a new window.
It might be that if a window exists with the same name (look at the parameters open() accepts) it will not open a new one, but I'm not sure that is much help...
If I had to choose between options I would like to support I would prefer to choose a configurable target and not support the javascript open... But that is just my preference.
Is there a URL size limitation for Link List
Posted: Wed Nov 23, 2005 9:13 pm
by p at sc
I've been trying to link to a url on kodakgallery, but link list bugs out.
It could partly be because of other characters in the URL like ? . and others... or could it be the SIZE of the url? See the "Born again" link below
Here is my code:
<dir name="Other Sites">
<link name="Garvin Hicking" link="
http://www.supergarv.de/" />
<link name="Matthew Groeninger" link="
http://www.theledge.net/" />
</dir>
<dir name="Pictures">
<link name="Born again" link="
http://www.kodakgallery.com/I.jsp?c=lbp ... &y=-s6815a" />
<link name="Serendipity" link="
http://s9y.org/" />
<link name="Zend" link="
http://zend.com/" />
</dir>
<link name="OXYGEN Web Solutions" link="
http://oxygenws.com/" />
Re: Is there a URL size limitation for Link List
Posted: Wed Nov 23, 2005 9:21 pm
by garvinhicking
Try to change "&" to "&" in your URLs.
Regards,
Garvin
Posted: Wed Nov 23, 2005 9:25 pm
by mgroeninger
Actually, it looks like it is a problem with the ampersands...
if you encode them with & it seems to work fine...
Something like:
Code: Select all
www.kodakgallery.com/I.jsp?c=lbpo3wr.bh0weyfz&x=0&y=-s6815a
should work...
same results
Posted: Wed Nov 23, 2005 9:49 pm
by p at sc
I made those changes.. same results.. No known issues with the ? . or = symbols?
<dir name="Other Sites">
<link name="Garvin Hicking" link="
http://www.supergarv.de/" />
<link name="Matthew Groeninger" link="
http://www.theledge.net/" />
</dir>
<dir name="Pictures">
<link name="Born again" link="
http://www.kodakgallery.com/I.jsp?c=lbp ... py=-s6815a" />
<link name="Serendipity" link="
http://s9y.org/" />
<link name="Zend" link="
http://zend.com/" />
</dir>
<link name="OXYGEN Web Solutions" link="
http://oxygenws.com/" />
Re: same results
Posted: Wed Nov 23, 2005 10:10 pm
by garvinhicking
Pat:
Replace "&" with "&" as described, not with "&" as you did.

Posted: Sat Nov 26, 2005 11:10 pm
by PerfectCr
How do I change the font used for the links in XML? I can't seems to figure it out

The font for my links is different than the rest of my sidebar items. Thanks!
Posted: Sat Nov 26, 2005 11:44 pm
by oxygenws
PerfectCr, could you provide a link please?
Posted: Sun Nov 27, 2005 12:09 am
by PerfectCr
Sure click the www link or the link in my sig

Posted: Sun Nov 27, 2005 1:51 am
by mgroeninger
PerfectCr, did you get this fixed? (I could look at your page all day and not know... I suck with fonts...)
It looks like you are using the DHTML/CSS output (rather then DTree!!! Yeah!!!)...
To make changes to the style you should edit the linklist.css under your plugins/serendipity_event_linklist folder.
Posted: Sun Nov 27, 2005 2:22 am
by PerfectCr
mgroeninger wrote:PerfectCr, did you get this fixed? (I could look at your page all day and not know... I suck with fonts...)
It looks like you are using the DHTML/CSS output (rather then DTree!!! Yeah!!!)...
To make changes to the style you should edit the linklist.css under your plugins/serendipity_event_linklist folder.
Tried that but when I changed it to Veranda nothing happened, in fact it then changed to Times New Roman

Posted: Sun Nov 27, 2005 5:16 pm
by oxygenws
i think its because of your cache...
try CTRL+R or CTRL+F5
