MPNews Customization Forum
Quote attribution
Thread Starter: Arnold Bailey Started: 7/30/2007 11:34 PM UTC
Replies: 4
Quote attribution

I'm using your ArticleDisplay control to format the body of the artcle. Is there a way to turn on attribution for quote blocks? Users who participate via email can't look back up the thread to see who posted the quote. We have a lot of people in the Navy that can get ot us by email but usually not by the web or NNTP while at sea.

" <PaulHoward> wrote in message news:10e206d0$40cc67bc$6e8@news...

 

Saves much confusion. If there is not a way to do it could you add it?

 

Re: Quote attribution
Hi Arnold,

I'm using your ArticleDisplay control to format the body of the artcle. Is there a way to turn on attribution for quote blocks? Users who participate via email can't look back up the thread to see who posted the quote. We have a lot of people in the Navy that can get ot us by email but usually not by the web or NNTP while at sea.

" <PaulHoward> wrote in message news:10e206d0$40cc67bc$6e8@news...

 

Saves much confusion. If there is not a way to do it could you add it?

I'm not sure what you're asking for here - do you mean that you want the news:xxx@news.xxx part to be a hyperlink in the web display? That should already be happening. If it is not, could you send me a link to an example page where it is not happening? Of course, if that attribution line is not present in the message, it will not appear.

 

Mark

Re: Quote attribution


Hi Arnold,

I'm using your ArticleDisplay control to format the body of the artcle. Is there a way to turn on attribution for quote blocks? Users who participate via email can't look back up the thread to see who posted the quote. We have a lot of people in the Navy that can get ot us by email but usually not by the web or NNTP while at sea.

" <PaulHoward> wrote in message news:10e206d0$40cc67bc$6e8@news...

Saves much confusion. If there is not a way to do it could you add it?

I'm not sure what you're asking for here - do you mean that you want the news:xxx@news.xxx part to be a hyperlink in the web display? That should already be happening. If it is not, could you send me a link to an example page where it is not happening? Of course, if that attribution line is not present in the message, it will not appear.

 

Mark

 

No I'm saying that the attribution should be added to the Quote by the Web interface when you are replying via the Web. NNTP and email usually do this already. If you look at the Quote above you wouldn't know it was from Mark except for the sig.

The format of the attribution isn't that important, I just clipped something. A simple

Jacob Matthew Wrote:

as the first line of the quote section would be sufficient. When you have a whole string of quotes with no attribution it's hard to follow a thread in email. A link to  go to the original quote would also be nice but isn't my primary concern.

Re: Quote attribution
Arnold,
 
I've just added support for this in the latest update. The ArticlePost control now has an AttributionLine property which controls the format of the line, if any, to be added.
 
If this property is null (the default) or empty, no attribution line is added and the post is created as before.
 
If this property is non-empty, any tokens in the line are replaced with the corresponding values taken from the message being replied to, and the resulting line is added to the new message.
 
Tokens are enclosed in curly braces, and must contain the name of a property within the NewsArticle class, e.g.:
 
{From} wrote:
 
Nested objects can also be accessed in the same way, by combining property names with a period. While the example above will use the entire, raw From header, the following example will just use the name:
 
{ClientArticle.FromName} wrote:
 
Any number of tokens can be included in the string, e.g.:
 
On {ClientArticle.Date.DateTime}, {ClientArticle.FromName} wrote in message {MessageID}:
 
Mark
Re: Quote attribution


Lovely. Thank you. I note that sigs are also working now. :-)


--alb