Russ, Raul, and others who might have ideas:
I already have a nice looking Blog Post in Splash. Here’s an example:
http://www.donorup.com/index.cfm/fundraising-magic-is-in-the-people-not-the-software
Inside each page, I put this:
<s:snippet name="blogHeader" />
All the actual post content.
<s:snippet name="blogFooter" />
The BlogHeader snippet sets up the Title/Date/Author/Tags at the top of the post, and the BlogFooter snippet closes the tags.
This is fine, but it is a bit of a hassle, as you have to remember to put in the header and footer with each post. And, now I’ve come across another problem with this approach. I’m adding an RSS feed using my <s:children-each> tag. It’s almost working, but …
The problem is that I want to include the content of a post in the RSS feed. The content is in the body pagepart. But, all that <s:snippet> stuff is in there too.
I think we need another kind of layout that only affects the pagepart Content. Or is this what page types are for?
I’m trying to think this through and solve the general problem – I already have lots of quick fix ideas. Thanks for any ideas you have!
Clarke
Office:
770-642-1353
eMail: cbi...@resultantsys.com
About the other thing I am not quite sure... I don't know if there is
a way to detect if this is going to be a RSS render so you can skip
certain outputs (you can place that logic inside your snippets or
tags)
On Mar 3, 3:37 pm, "Clarke Bishop" <cbis...@resultantsys.com> wrote:
> Russ, Raul, and others who might have ideas:
>
> I already have a nice looking Blog Post in Splash. Here's an example:
>
> http://www.donorup.com/index.cfm/fundraising-magic-is-in-the-people-n...
> software
>
> Inside each page, I put this:
>
> <s:snippet name="blogHeader" />
>
> All the actual post content.
>
> <s:snippet name="blogFooter" />
>
> The BlogHeader snippet sets up the Title/Date/Author/Tags at the top of the
> post, and the BlogFooter snippet closes the tags.
>
> This is fine, but it is a bit of a hassle, as you have to remember to put in
> the header and footer with each post. And, now I've come across another
> problem with this approach. I'm adding an RSS feed using my
> <s:children-each> tag. It's almost working, but .
>
> The problem is that I want to include the content of a post in the RSS feed.
> The content is in the body pagepart. But, all that <s:snippet> stuff is in
> there too.
>
> I think we need another kind of layout that only affects the pagepart
> Content. Or is this what page types are for?
>
> I'm trying to think this through and solve the general problem - I already
> have lots of quick fix ideas. Thanks for any ideas you have!
>
> Clarke
>
> Office: 770-642-1353
> eMail: cbis...@resultantsys.com
It's funny how you think sometimes. I was thinking that the layout
controlled everything except for the body. But, of course, it doesn't have
to be this way!
Clarke