You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by "Emmanouil Batsis (Manos)" <ma...@abiss.gr> on 2010/04/03 18:34:36 UTC
Entry images in main?
Was wondering if anyone has worked out a way to display a thumb of
(e.g.) the first image of an entry along with it's summary in the main
page. Just looking to get a head-start instead of working on it from
scratch.
--
Manos Batsis, Chief Technologist
__ _
____ _/ /_ (_)_________ ____ ______
/ __ `/ __ \/ / ___/ ___// __ `/ ___/
/ /_/ / /_/ / (__ |__ )/ /_/ / /
\__,_/_.___/_/____/____(_)__, /_/
/____/
http://www.Abiss.gr
19, Kalvou Street,
14231, Nea Ionia,
Athens, Greece
Tel: +30 211-1027-900
Fax: +30 211-1027-999
http://gr.linkedin.com/in/manosbatsis
Re: Entry images in main?
Posted by Dave <sn...@gmail.com>.
What you want is to create a PageModel plugin.
This might help:
http://markmail.org/message/jdrk5jw4tg2ynkdp
- Dave
On Mon, Apr 12, 2010 at 10:10 AM, Emmanouil Batsis (Manos)
<ma...@abiss.gr> wrote:
> Emmanouil Batsis (Manos) wrote:
>>
>> Dave wrote:
>>>
>>> On Sat, Apr 3, 2010 at 12:34 PM, Emmanouil Batsis (Manos)
>>> <ma...@abiss.gr> wrote:
>>>>
>>>> Was wondering if anyone has worked out a way to display a thumb of
>>>> (e.g.)
>>>> the first image of an entry along with it's summary in the main page.
>>>> Just
>>>> looking to get a head-start instead of working on it from scratch.
>>>
>>> I haven't seen anything like that. Shouldn't be too hard to do with a
>>> Page Model plugin and, perhaps, an HTML parser.
>>
>> Couldn't find the right class, meaning anything similar to Page*Plugin.
>>
>> I found WeblogEntryPlugin and was wondering if I can use that to transform
>> the summary *before* it is stored, as well as produce an image thumb?
>
> It wont, tried it. Can a WeblogEntryPlugin be made/configured to only work
> in the planet main?
>
>
> --
> Manos Batsis, Chief Technologist
> __ _
> ____ _/ /_ (_)_________ ____ ______
> / __ `/ __ \/ / ___/ ___// __ `/ ___/
> / /_/ / /_/ / (__ |__ )/ /_/ / /
> \__,_/_.___/_/____/____(_)__, /_/
> /____/
> http://www.Abiss.gr
> 19, Kalvou Street,
> 14231, Nea Ionia,
> Athens, Greece
>
> Tel: +30 211-1027-900
> Fax: +30 211-1027-999
>
> http://gr.linkedin.com/in/manosbatsis
>
>
Re: Entry images in main?
Posted by "Emmanouil Batsis (Manos)" <ma...@abiss.gr>.
Emmanouil Batsis (Manos) wrote:
> Dave wrote:
>> On Sat, Apr 3, 2010 at 12:34 PM, Emmanouil Batsis (Manos)
>> <ma...@abiss.gr> wrote:
>>> Was wondering if anyone has worked out a way to display a thumb of
>>> (e.g.)
>>> the first image of an entry along with it's summary in the main page.
>>> Just
>>> looking to get a head-start instead of working on it from scratch.
>>
>> I haven't seen anything like that. Shouldn't be too hard to do with a
>> Page Model plugin and, perhaps, an HTML parser.
>
> Couldn't find the right class, meaning anything similar to Page*Plugin.
>
> I found WeblogEntryPlugin and was wondering if I can use that to
> transform the summary *before* it is stored, as well as produce an image
> thumb?
It wont, tried it. Can a WeblogEntryPlugin be made/configured to only
work in the planet main?
--
Manos Batsis, Chief Technologist
__ _
____ _/ /_ (_)_________ ____ ______
/ __ `/ __ \/ / ___/ ___// __ `/ ___/
/ /_/ / /_/ / (__ |__ )/ /_/ / /
\__,_/_.___/_/____/____(_)__, /_/
/____/
http://www.Abiss.gr
19, Kalvou Street,
14231, Nea Ionia,
Athens, Greece
Tel: +30 211-1027-900
Fax: +30 211-1027-999
http://gr.linkedin.com/in/manosbatsis
Re: Entry images in main?
Posted by "Emmanouil Batsis (Manos)" <ma...@abiss.gr>.
Dave wrote:
> On Sat, Apr 3, 2010 at 12:34 PM, Emmanouil Batsis (Manos)
> <ma...@abiss.gr> wrote:
>> Was wondering if anyone has worked out a way to display a thumb of (e.g.)
>> the first image of an entry along with it's summary in the main page. Just
>> looking to get a head-start instead of working on it from scratch.
>
> I haven't seen anything like that. Shouldn't be too hard to do with a
> Page Model plugin and, perhaps, an HTML parser.
Couldn't find the right class, meaning anything similar to Page*Plugin.
I found WeblogEntryPlugin and was wondering if I can use that to
transform the summary *before* it is stored, as well as produce an image
thumb?
--
Manos Batsis, Chief Technologist
__ _
____ _/ /_ (_)_________ ____ ______
/ __ `/ __ \/ / ___/ ___// __ `/ ___/
/ /_/ / /_/ / (__ |__ )/ /_/ / /
\__,_/_.___/_/____/____(_)__, /_/
/____/
http://www.Abiss.gr
19, Kalvou Street,
14231, Nea Ionia,
Athens, Greece
Tel: +30 211-1027-900
Fax: +30 211-1027-999
http://gr.linkedin.com/in/manosbatsis
Re: Entry images in main?
Posted by Dave <sn...@gmail.com>.
On Sat, Apr 3, 2010 at 12:34 PM, Emmanouil Batsis (Manos)
<ma...@abiss.gr> wrote:
> Was wondering if anyone has worked out a way to display a thumb of (e.g.)
> the first image of an entry along with it's summary in the main page. Just
> looking to get a head-start instead of working on it from scratch.
I haven't seen anything like that. Shouldn't be too hard to do with a
Page Model plugin and, perhaps, an HTML parser.
- Dave