HighDots Forums  

[FF] Bookmarklet gesucht

Javascript (German) Programmiersprache JavaScript. (de.comp.lang.javascript)


Discuss [FF] Bookmarklet gesucht in the Javascript (German) forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Patrick Kempf
 
Posts: n/a

Default [FF] Bookmarklet gesucht - 07-04-2004 , 09:46 AM






Hallo,

ich weiss nicht, welche Group jetzt geeigneter ist und habe deshalb nach
d.c.l.javascript und d.c.s.m.browser gepostet.

Ich benötige für mein Blog ein Bookmarklet, mit dessen Hilfe ich eine
Seite, die ich gerade besuche und "linkenswert" finde in meinen
Linkadmin (im Blog) einfach hinzufügen kann.

Im Grunde muss das BL einfach nur den Titel der Seite und die aktuelle
Location an mein Skript übergeben:

http://www.meinedomain.tld/linkadmin/addlink.php?url=$url&title=$title

So in etwa.

Würde mich sehr über Hilfe freuen oder wenn man mich in die richtige
Richtung "stumpen" könnte.

PK
--
"COFFEE.EXE Not Found: (A)bort (R)etry (P)anic?"

Reclaim Your Inbox!
http://www.mozilla.org/products/thunderbird/

Reply With Quote
  #2  
Old   
Matthias Schultheis
 
Posts: n/a

Default Re: [FF] Bookmarklet gesucht - 07-04-2004 , 10:23 AM






On 04.07.2004 15:46, Patrick Kempf wrote:

Quote:
Ich benötige für mein Blog ein Bookmarklet, mit dessen Hilfe ich eine
Seite, die ich gerade besuche und "linkenswert" finde in meinen
Linkadmin (im Blog) einfach hinzufügen kann.

Im Grunde muss das BL einfach nur den Titel der Seite und die aktuelle
Location an mein Skript übergeben:

http://www.meinedomain.tld/linkadmin/addlink.php?url=$url&title=$title
Vielleicht hilft das:
http://www.plasticthinking.org/wiki/CreateLink

Gruß
Matthias


Reply With Quote
  #3  
Old   
Martin Honnen
 
Posts: n/a

Default Re: [FF] Bookmarklet gesucht - 07-04-2004 , 10:37 AM





Patrick Kempf wrote:


Quote:
Ich benötige für mein Blog ein Bookmarklet, mit dessen Hilfe ich eine
Seite, die ich gerade besuche und "linkenswert" finde in meinen
Linkadmin (im Blog) einfach hinzufügen kann.

Im Grunde muss das BL einfach nur den Titel der Seite und die aktuelle
Location an mein Skript übergeben:

http://www.meinedomain.tld/linkadmin/addlink.php?url=$url&title=$title
Im Prinzip kann man per XMLHttpRequest einen solchen HTTP Request
absenden, aber das Problem ist, das Script (in HTML Seiten oder in
Bookmarklets) nur zu dem Server verbinden kann, von dem die aktuelle
Seite geladen ist. Aber du kannst ein neues Fenster oeffnen und dabei
die Daten uebergeben:

javascript: void window.open('http://example.com/addlink.php?url=' +
escape(window.location.href) + '&title=' + escape(window.document.title))


--

Martin Honnen
http://JavaScript.FAQTs.com/



Reply With Quote
  #4  
Old   
Patrick Kempf
 
Posts: n/a

Default Re: [FF] Bookmarklet gesucht - 07-04-2004 , 12:37 PM



Am 04.07.2004 16:23 schrieb Matthias Schultheis:

Quote:
Vielleicht hilft das: http://www.plasticthinking.org/wiki/CreateLink
Danke. Dein Tipp hat mich auf die richtige Fährte gebracht.

javascript:void(addlink=window.open('http://www.domain.tld/link_admin.php?action=add_link&URL='+escape(locati on.href)+'&Website='+escape(document.title),'add') );

PK
--
"COFFEE.EXE Not Found: (A)bort (R)etry (P)anic?"

Reclaim Your Inbox!
http://www.mozilla.org/products/thunderbird/


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.