Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-08-15 14:22:49

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,058
Website GitHub Mastodon Twitter

[howto] post to my txp

here is a little snippet based on ‘post to my delicious’ which posts links and their titles directly into the txp ‘links’ tab (might be useful for those of you out there who are administering portal sites):

javascript:location.href='http://site.tld/textpattern/?event=link&url='+encodeURIComponent(location.href)+'&linkname='+encodeURIComponent(document.title)

Create a new bookmark in your browser and paste the above in the address field after editing site.com with your site address

You have to be logged in your txp install to use it.

I first posted this here responding to Alexandra’s request.

Last edited by colak (2006-11-03 15:42:11)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#2 2008-01-02 07:00:02

bolly
Member
Registered: 2007-09-08
Posts: 10

Re: [howto] post to my txp

Excellent little snippet. It doesn’t work for me, though in the latest release, anyway.
as of Jan/01/2008

Offline

#3 2008-01-02 07:41:46

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,058
Website GitHub Mastodon Twitter

Re: [howto] post to my txp

It still works from here
Can you please let me know what browser you are using?


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#4 2018-03-08 16:28:28

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,058
Website GitHub Mastodon Twitter

Re: [howto] post to my txp

This is a very old post but I am resurfacing it to update the code for txp 4.6.2. I’ll be checking it on txp 4.7 in a few days:)

javascript:location.href='http://www.site.tld/textpattern/?event=link&step=link_edit&url='+encodeURIComponent(location.href)+'&linkname='+encodeURIComponent(document.title)

Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB