Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2004-10-14 02:12:06

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

[plugin] [ORPHAN] rss_author_info

First off, to give credit where credit is due, this plugin was modeled after Stanton Champion’s spc_section_alias

This plugin provides the ability to display more than just an author’s name. The plugin provides the ability to also define a URL, nickname, bio, email and image for each author. You can also display the total number of live posts for the author and the last posted date. This plugin is ideal for sites with multiple authors.

Download
Please let me know how it works out or if there’s anything to improve on.

<code>&lt;txp:rss_author_info /&gt;</code> This is the main tag for the plugin. All TXP authors should be defined on a form that is included in all article forms.
  • <strong>username</strong> – REQUIRED – must match the TXP username
  • <strong>nickname</strong> – specifies a nickname for the author
  • <strong>url</strong> – a link associated with the author
  • <strong>bio</strong> – biographical information or any sort of description associated with the author
  • <strong>imageid</strong> – the TXP given id for an uploaded image file to be associated with the author
  • <strong>email</strong> – overrides the email address entered for the author in the admin interface

<code>&lt;txp:rss_author_info_nickname /&gt;</code>
Displays the author nickname.

<code>&lt;txp:rss_author_info_bio /&gt;</code>
Displays the author’s biographical info.

<code>&lt;txp:rss_author_info_url /&gt;</code>
Displays a link to the author’s website.

  • <strong>title</strong> – used for the link text and title. defaults to ‘Website’.

<code>&lt;txp:rss_author_info_postcount /&gt;</code>
Displays the total number of live posts for the author.

<code>&lt;txp:rss_author_info_lastpostdate /&gt;</code>
Displays the date of the author’s last post.

  • <strong>dateformat</strong> – accepts any php date format. defaults to ‘F j, Y’.

<code>&lt;txp:rss_author_info_image /&gt;</code>
Displays the image file associated with the author.

<code>&lt;txp:rss_author_info_email /&gt;</code>
Displays the author’s email address.

Last edited by wilshire (2006-01-20 00:57:09)

Offline

#2 2004-11-02 17:49:43

jay
New Member
Registered: 2004-02-28
Posts: 2

Re: [plugin] [ORPHAN] rss_author_info

I guess i’ll sound a little stupid, but I don’t realise how this works.
How do you set the author data?

Offline

#3 2004-11-02 20:37:37

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] rss_author_info

Not stupid at all. My docs were pretty lacking on this so I updated them.

rss_author_info documentation

Let me know if that clarifies things.

Offline

#4 2004-11-11 02:08:26

ss
Member
Registered: 2004-03-31
Posts: 20

Re: [plugin] [ORPHAN] rss_author_info

i’m in the middle of moving my site from MT and fixing up a new layout for it as well. your plugin’s the first one i ever tried and am using, thanks! ;-)

i would like to know how to label the url and email output differently.

the page is here – http://dailymalaysia.org/

(still a few things for me to figure out as you can see like the ‘about’ static page, and archives)

thank you!

Offline

#5 2004-11-11 02:44:40

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] rss_author_info

In order to display the URL with your own title, use <code><txp:rss_author_info_url title=“Your Title” /></code>

The email label can’t be changed. It uses the Real Name that you assign the user in the TXP site admin area.

Here’s an archive plugin that I wrote thats pretty easy to use.

And here’s a good writeup on managing static pages

Last edited by wilshire (2004-11-11 04:20:44)

Offline

#6 2004-11-11 04:03:48

alicson
Member
Registered: 2004-05-26
Posts: 465
Website

Re: [plugin] [ORPHAN] rss_author_info

ss… where in malaysia? :) (your ‘about’ page doesn’t seem to be up yet…)


textpattern.org :: find and share Textpattern resources
docs.textpattern.io :: Textpattern user documentation

Offline

#7 2004-11-11 05:12:02

ss
Member
Registered: 2004-03-31
Posts: 20

Re: [plugin] [ORPHAN] rss_author_info

wilshire:
ooh nice – thanks for the super quick response. i guess it already looks good as it is so i’ll leave it for now. i will definitely use your archive plugin, thanks again! ;-)

alicson:
i’m in PJ. yea i’m still working on it – it needs a rewrite anyway.

Offline

#8 2005-01-16 22:01:22

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

Re: [plugin] [ORPHAN] rss_author_info

Maybe a stupid question… won’t it be quite heavy for the TXP Engine when a website has 50, 100 or several hundreds authors ?

Ig I get it right, you have to define all the authors “metadata” in a form and call that form on every article page.

Offline

#9 2005-01-17 01:34:18

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] rss_author_info

Yes, the form would be included on every article page. I don’t know how practical it would be on a site with several hundred authors but how many of them are there?

Offline

#10 2005-08-25 18:51:39

The-Exit
Member
From: Berlin
Registered: 2005-07-16
Posts: 175
Website

Re: [plugin] [ORPHAN] rss_author_info

As verpixelt, I get the same problem. Nothing is shown :-( Does this plugin work with 4.0?

Offline

#11 2005-08-25 23:51:01

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] rss_author_info

Hmmm…its been a while since I’ve looked at it. I’ll have to try it out at some point but to be honest its not high on the to-do list.

Offline

Board footer

Powered by FluxBB