Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: [archived] vg_related_articles 0.1 - related articles by keywords
arkham wrote:
hm, developer’s site seems to be down.
anyone have this plugin backed up?
Nope :(
Offline
Re: [archived] vg_related_articles 0.1 - related articles by keywords
blessed internet. thanks to aboswell for emailing it to me.
i’ll upload the text file later for anyone interested.
Offline
#27 2005-07-18 23:05:42
- nardo
- Member
- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: [archived] vg_related_articles 0.1 - related articles by keywords
yep, pls!
[edit: vincent’s site is up… got it…]
Last edited by nardo (2005-07-18 23:08:27)
Offline
Re: [archived] vg_related_articles 0.1 - related articles by keywords
say vincent – I love the plugin, it works great except for the fact that it just returns a list of articles as they were posted, in order, and not by their keywords. This plugin is exactly what I want, but I find it hard to believe that articles 819-824+826+827 are the best related to article 825 ;) I’m running textpattern from svn, and am for the most part right up there with development releases, so maybe there’s something beyond rc3 that broke the plugin – but just a heads up.
Offline
Re: [archived] vg_related_articles 0.1 - related articles by keywords
> misterk wrote:
> say vincent – I love the plugin, it works great except for the fact that it just returns a list of articles as they were posted, in order, and not by their keywords. This plugin is exactly what I want, but I find it hard to believe that articles 819-824+826+827 are the best related to article 825 ;) I’m running textpattern from svn, and am for the most part right up there with development releases, so maybe there’s something beyond rc3 that broke the plugin – but just a heads up.
————————————————-
Yeah, that’s how the plugin works… it just looks for any match on any keyword. The results are not ranked by relevance.
I’m going to experiment with modifying it so that it does rank by relevance but it will require a database change in addition to modifying the plugin. I’ll post here if the end result is good.
I was looking to do the same thing for my site already. The plugin needs that feature to really become much more useful methinks.
Last edited by arkham (2005-07-21 03:55:08)
Offline
Re: [archived] vg_related_articles 0.1 - related articles by keywords
by keywords are we talking about the keywords within the keywords field in advanced article options? if that’s the case then simply being more specific with keywords would make the article smore related wouldn’t they? If six posts contain articles with the keyword blob and in y=our new article you enter blog then the related articles would logically follow to be any with the keyword blob. Still not tried it but if that’s how it work, it will a nice lil plugin
Offline
Re: [archived] vg_related_articles 0.1 - related articles by keywords
Things can relate in so many different ways and how many articles will have only one very specific keyword applying? If that were our model we could just as well use categories instead of keywords.
Considering that MySQL has built in FULLTEXT search features with rank of relevancy assigned I think it makes perfect sense to adapt this plugin to use it.
Offline
Re: [archived] vg_related_articles 0.1 - related articles by keywords
well having used it there are some further features, or values I’d liekt o see added – a lonesome article title alone looks rather isolated, so how about adding thing slike article name, posted on, posted by and more importantly expanding it so that it relates to articles with the same keyword regardless of thec ategory – i just relasied that it’s limited to the same category only at present, but it would be great to see cross category relations.
Anyone else had aproblem with it wrapping but adding the text within the wrap attribute on teh page? So if you use “br” it actually displays br at the end of the link. Strange
thanks
Last edited by sekhu (2005-07-24 19:04:00)
Offline
Re: [archived] vg_related_articles 0.1 - related articles by keywords
has anyone been able to use this on txp 4.0?
I get no output at all.
Id love to be able to specify a form for the articles to be displayed in.
Last edited by kemie (2005-08-24 07:32:19)
~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~
Offline
#34 2005-09-06 13:08:56
- orson
- New Member
- Registered: 2005-02-27
- Posts: 7
Re: [archived] vg_related_articles 0.1 - related articles by keywords
I used vg_related_articles plugin version 0.1, but it doesnt work properly. So i
look at it and found some mistakes in the code:
- bad brackets in the SQL code – if the article was in 2 categories, then it added OR category2=XXX in the
WHERE clausule. It causes, that there were all articles from category2 in the relevant article list (even those
which were not yet published)
<br>
- bad keywords spliting – some bad regular expresion, which causes that my
keywords which contains “s” were splited: “mysql” —-> “my” and “ql”
<br>
- sometimes i made new line in keywords field, after that the plugin generates
also blank keyword and it causes OR Keywords LIKE “%%” in the SQL and after that all
articles were in the relevant article list.
So i fixed it and changed it a bit – i changed the sorting – now it is sorted
by the first category of the recent article and by date on the second place (it means, that
on the first places will be relevant articles from the same category as recent article)
If you want you can download my changes here: <a href=“http://petr.vaclavek.com/ukazky/vg_related_articles_vac.txt”>http://petr.vaclavek.com/ukazky/vg_related_articles_vac.txt</a>
and read something about it in my article: <a href=“http://petr.vaclavek.com/article/274/Textpattern-plugin-pro-relevantni-clanky-vg_related_articles”>http://petr.vaclavek.com/article/274/Textpattern-plugin-pro-relevantni-clanky-vg_related_articles</a>
Last edited by orson (2005-09-06 13:10:21)
Offline
#35 2005-09-07 12:32:52
- orson
- New Member
- Registered: 2005-02-27
- Posts: 7
Re: [archived] vg_related_articles 0.1 - related articles by keywords
I transfered the plugin to standard format, so now you can download it here: <a href=“http://petr.vaclavek.com/ukazky/vg_related_articles_vac.txt”>vg_related_articles_vac</a>
Last edited by orson (2005-09-07 12:34:06)
Offline
#36 2005-11-16 11:52:59
- the-bhp
- Member
- Registered: 2005-10-18
- Posts: 26
Re: [archived] vg_related_articles 0.1 - related articles by keywords
For some reason, the links to the related articles are in messy mode. Can I switch it to clean URLs?
Offline