Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-06-17 15:06:07

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Plugin Request: link search

I would like to be able to search links (title and description), I don’t think this is possible with the built-in search. It seems like it only searches articles. Please tell me I’m wrong? If not, would it be possible for someone to create a plugin for this functionality?

Offline

#2 2005-06-17 15:40:53

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Plugin Request: link search

Correct, only searches articles.

Possible? Yes. It would have to be separate from the regular search, but it is possible.

Offline

#3 2005-06-17 15:56:21

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: Plugin Request: link search

Since it has to be seperate maybe there could be something like an amazon type search where you have a dropdown list that has:

search: (dropdown) Articles, links (/dropdown) (search field) (search button)

The default would be to search articles. Would you be willing to create this, Plugin Guru Mary?

Last edited by tinyfly (2005-06-17 15:57:00)

Offline

#4 2005-06-17 16:24:15

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Plugin Request: link search

“…a dropdown…”

Not a bad idea.

Would you be willing to create this…”

Sure, it’ll be fun. :)

Offline

#5 2005-06-17 16:27:35

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: Plugin Request: link search

Great, thanks ;)

Offline

#6 2005-06-20 03:07:03

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Plugin Request: link search

Meh, I’m gonna have to bail on you, Jeff. A lot more work than I’m prepared to handle. I could hack something basic together, but then supporting it would be a nightmare.

The search itself isn’t what’s difficult. Its simple to interrupt search, and run your own search instead, only a couple lines. The hard part is co-ordinating all the integration tags and forms (a repeat of the current problems with comments).

Anyone else care to try at it? Please do.

Offline

#7 2005-06-20 03:36:47

carton
Archived Plugin Author
From: Tokyo
Registered: 2004-08-10
Posts: 9
Website

Re: Plugin Request: link search

You can search links with my tfu_linklog plugin. It’s separate from Txp’s in-built search function, but it returns matches from link titles, descriptions and URLs. Disclaimer: I haven’t tested it with the most recent Txp versions.

Offline

#8 2005-06-20 13:28:37

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: Plugin Request: link search

Mary, what about just having a seperate search box instead of a dropdown one? Would that make it any easier? If not, thanks for trying I appreciate it.

carton, thanks for the link, but I wanted a link search that is plugin agnostic so I could use any of the link listing plugins and still have a search.

Offline

#9 2005-06-20 18:19:48

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Plugin Request: link search

Jeff: That’s the easy part. The more time-consuming and difficult problem is the tags and forms that are required. Just like the problem we have now with comments.

Offline

Board footer

Powered by FluxBB