Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-03-05 12:56:33

Vincent Grouls
Archived Plugin Author
From: Aberdeen, UK
Registered: 2005-01-31
Posts: 9
Website

[archived] vg_related_articles 0.1 - related articles by keywords

Notice: This thread is archived, this plugin is no longer available.

**********************************************************

Hi folks,

Latest version: 0.2

From the moment I started using Textpattern I had the intention to publish any plug-ins or modifications I had made to benefit my installation. The first one I want to release is vg_related_articles. This plug-in behaves the same as related_articles except that it searches for keywords as well.

By defining keywords when posting an article you can create relationships between various articles and have a (hopefully) better list of related articles.

Features

  • Limit the number of articles shown
  • Various ways to separate the articles (lists, newlines, …)
  • The articles can be wrapped inside a tag (p, ul, ol, …)
  • Articles must be in the same category/categories to show up as related (may change in a next version).
  • An additional tag vg_if_related_articles can be used to wrap the tag in. The information inside this tag will only be shown if related articles are found.

Download

vg_related_articles 0.2 for 1.0RC3 (right-click, save as)
vg_related_articles 0.1 for 1.0RC1 (right-click, save as)

The plug-in contains full documentation on how to use it. I am open to suggestions for additional features or anything you deem relevant ;-)

You can also leave a comment on the entry on my website

Last edited by Vincent Grouls (2005-04-25 13:39:21)

Offline

#2 2005-03-05 17:33:12

feiliao
New Member
Registered: 2004-08-06
Posts: 9
Website

Re: [archived] vg_related_articles 0.1 - related articles by keywords

the plug-in couldn’t be installed…

Offline

#3 2005-03-05 17:54:45

Vincent Grouls
Archived Plugin Author
From: Aberdeen, UK
Registered: 2005-01-31
Posts: 9
Website

Re: [archived] vg_related_articles 0.1 - related articles by keywords

What installation are you using? I’m still using RC1 at the moment – haven’t tried it on RC3 yet.

Offline

#4 2005-03-05 18:23:47

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: [archived] vg_related_articles 0.1 - related articles by keywords

Nice one, much needed. I’ll try it as soon as it fit into RC3 :)

One idea : it would be very nice if a javascript/ecmascript guru could write a frontend for keywords management… something to control what keywords exists (as decided by the admin) and can be input in the field, check the formating, and so on.

Offline

#5 2005-03-06 03:14:35

feiliao
New Member
Registered: 2004-08-06
Posts: 9
Website

Re: [archived] vg_related_articles 0.1 - related articles by keywords

oh.sorry.. I am still using Textpattern · g1.19… :(

——

Just update to RC1. the plugin works great!.. keep testing…

Last edited by feiliao (2005-03-06 03:52:40)

Offline

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

Jennifer
Member
From: Michigan
Registered: 2004-02-25
Posts: 74
Website

Re: [archived] vg_related_articles 0.1 - related articles by keywords

If this can be updated for RC3, I’d be extremely interested! :)

Offline

#7 2005-03-06 12:43:23

ruminator
Member
From: Carson City, NV
Registered: 2005-02-01
Posts: 57
Website

Re: [archived] vg_related_articles 0.1 - related articles by keywords

If this plugin is updated for RC3, I’ll be interested too!


Search is your friend… Think before writing…

Offline

#8 2005-03-06 18:07:07

multiverso
Member
From: Spain
Registered: 2004-03-07
Posts: 16
Website

Re: [archived] vg_related_articles 0.1 - related articles by keywords

Me too! :)

(BTW: excellent work!)


webloggin’ from Spain with Textpattern

Offline

#9 2005-03-06 20:47:02

Vincent Grouls
Archived Plugin Author
From: Aberdeen, UK
Registered: 2005-01-31
Posts: 9
Website

Re: [archived] vg_related_articles 0.1 - related articles by keywords

Thanks for the props folks! Will be testing it for RC3 tomorrow :)

One idea : it would be very nice if a javascript/ecmascript guru could write a frontend for keywords management… something to control what keywords exists (as decided by the admin) and can be input in the field, check the formating, and so on.

Could you elaborate on that plz? I’m not sure what you mean.

feiliao, it’s important to stay up to date ;)

Last edited by Vincent Grouls (2005-03-06 20:59:43)

Offline

#10 2005-03-06 22:24:15

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: [archived] vg_related_articles 0.1 - related articles by keywords

Ok what I meant was : an author can enter the keywords with no control at all. Some may put spaces, forgot to use comma, use wrong taxonomy, and so on.

So I would like some tool to help the author use the right keywords, and to check if the formating is good.

I believe the most simple to use and implement would be a client side check (since security is not really an issue), by a javascript/ecmascript for example.

Offline

#11 2005-03-06 22:47:20

Vincent Grouls
Archived Plugin Author
From: Aberdeen, UK
Registered: 2005-01-31
Posts: 9
Website

Re: [archived] vg_related_articles 0.1 - related articles by keywords

Good plan – unless someone beat me to it, I will look into that as soon as possible. Isn’t hard to implement at all. And it could be combined by a server-side check as well, which is the better way of handling things.

I currently accounted for spaces and comma’s, but it would save one or two lines of code obviously.

I think the ideal solution would be to use comma-separated keywords; that way they can be used as meta-keywords as well without additional parsing.

Offline

#12 2005-03-17 10:54:05

Vincent Grouls
Archived Plugin Author
From: Aberdeen, UK
Registered: 2005-01-31
Posts: 9
Website

Re: [archived] vg_related_articles 0.1 - related articles by keywords

I’m still waiting on Textpattern 1.0 to be released before doing any checks for compatibility. Sorry for any lack of updates.

Offline

Board footer

Powered by FluxBB