Page 1 of 3

Article Summary Per Author?

Posted: Sat Oct 13, 2007 8:03 pm
by bdconnolly
Is it possible to produce and article list (a la archives/2007/10/summary.html) for individual authors?

Brian

Re: Article Summary Per Author?

Posted: Sun Oct 14, 2007 1:18 pm
by garvinhicking
Hi!

Yes, simply click on the authors name of your blog entry. Like:

http://blog.s9y.org/authors/2-Jannis

Regards,
Garvin

Posted: Sun Oct 14, 2007 2:30 pm
by bdconnolly
Thank you Garvin. BUT, that's not what I'm looking to do.

See, I'm setting up for only one article at a time on the frontpage. As such, what I'd like to do is produce a list like the archive summary.

Thoughts?

Posted: Sun Oct 14, 2007 3:11 pm
by garvinhicking

Posted: Sun Oct 14, 2007 4:28 pm
by bdconnolly
almost but nope.

This doesn't work:

http://furthermore.com/archives/2007/A1/summary.html

This kinda works but note it's listing an article dated September in October:

http://furthermore.com/archives/A1/summary.html

I know we're close.

Posted: Sun Oct 14, 2007 6:58 pm
by Don Chambers
Brian - Garvin seems to be helping you with the summary issue, so I will not get into that.

I see you are using a slightly modified version of the blue colorset in bulletproof. I'm happy you like it. :D Why did you remove the credit links from the template?

Posted: Sun Oct 14, 2007 7:09 pm
by bdconnolly
Don, I'd like to stay on topic if we might. If you'd like contact me directly, I can be reached at bconnolly@furthermore.com.

Thanks,

Posted: Mon Oct 15, 2007 12:37 am
by bdconnolly
BACK ON TOPIC

This:

http://furthermore.com/archives/A1/summary.html

Using this (entries_summary):

Code: Select all

{serendipity_hookPlugin hook="entries_header"}
<div class="serendipity_Entry_Date">
<h4 class="serendipity_title"><a href="{$entry.link}">{$entry.title}</a>{$CONST.TOPICS_OF} {$dateRange.0|@formatTime:"%B %Y"}</h4>

<div class="serendipity_entry">
    {foreach from=$entries item="entries"}
        {foreach from=$entries.entries item="entry"}
           <a href="{$entry.link}">{$entry.title}</a>
           <div class="posted_by_date">{$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY}</div>
        {/foreach}
    {/foreach}
</div>
</div>
Produces this:
From October 2007

blue
Sunday, October 14, 2007
Test47
Tuesday, September 12, 2006

Posted: Mon Oct 15, 2007 11:18 am
by garvinhicking
Hi!

But that's okay? When you don't use a year restriction on the summaries, it uses the full date range?

Regards,
Garvin

Posted: Mon Oct 15, 2007 1:55 pm
by bdconnolly
Yeah. BUT, note that I put in a retro date to test. September is being listed under October.

:(

If I can just fix that, I'm all good.

Posted: Mon Oct 15, 2007 1:57 pm
by garvinhicking
Hi!
bdconnolly wrote:Yeah. BUT, note that I put in a retro date to test. September is being listed under October.

:(

If I can just fix that, I'm all good.
This is simply because you are not specifiny a timestamp range. The s9y summary is only meant to be called with a range, which is why if you don't specify one, the current month name is given as the title, but the range spans everything.

So, use a timestamp range, and you should be fine. Else you must be patching your entries_summary.tpl file and remove the <h4> tag completely.

Regards,
Garvin

Posted: Mon Oct 15, 2007 2:36 pm
by carl_galloway
Don Chambers wrote:I see you are using a slightly modified version of the blue colorset in bulletproof. I'm happy you like it. :D Why did you remove the credit links from the template?
LOL, when you give away something like a template you must expect people to remove your link. From doing a google search in specific code within my templates I can tell you that about 20% of all users will strip out the link, and frankly, if you want to enforce this you'll find people will stop using your template altogether. Better to let them do what they want and not upset anyone.

Posted: Mon Oct 15, 2007 2:37 pm
by bdconnolly
Well, I'm fairly clear on how to remove <h4>. :)

I am not clear how to call the summary with a range. As I said, this is not working: http://furthermore.com/archives/2007/A1/summary.html . This works but is limited to the authors articles for October: http://furthermore.com/archives/2007/10/A1/summary.html .

Can I do this: http://furthermore.com/pages/A1/archives.html ?

Posted: Mon Oct 15, 2007 2:51 pm
by garvinhicking
Hi Carl!
Better to let them do what they want and not upset anyone.
I full-heartedly disagree.

It is simply not ALLOWED to remove copyright notices. It is an illegal breach of contract. Simply because people do it does not mean, that telling people not to do that is not the right thing to do. Uhm, wicked sentence.

What I mean: If people want free support anywhere, but then they show off URLs in which they remove other peoples work (what the BSD license does NOT ALLOW!), IMHO it is not really right to support those people any more. And we should create an awareness for other people reading this, that it is not okay to steal other ones work.

I've been in contact with bdconnolly in the past, and I'm quite sure that what he did was not on purpose. So especially to people like him, it's okay to encourage them to think about what they did to be able to fix that mistake.

As for your problem bdconnolly :

Try to use this URL:
http://furthermore.com/archives/A1/summary/entries.html

This should list all entries by Author 1 in the summary mode?

Regards,
Garvin

Posted: Mon Oct 15, 2007 3:15 pm
by bdconnolly
Well, first, I fixed the archive issue. Thank you Garvin.

With regard to copyright notices and license compliance... ABSOLUTELY AGREE!!! I am a HUGE advocate of copyright.

That said, one must make the distinction between copyright notice and advertising. Bulletproof, for instance, was/is not distributed with copyright notice or license. It was distributed as a part of Serendipity. As such, compliance is to keep copyright notice within the code.