Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2012-11-30 08:36:40

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,356
GitHub

Re: Excerpts with a leading space

philwareham wrote:

If you’re using HTML5 doctype then I’d recommend learning about semantics and microdata instead. Google loves the microdata (since they helped create it).
Schema.org is a good place to start.

Right on — thanks, Phil.

Offline

#14 2012-11-30 08:41:22

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,356
GitHub

Re: Excerpts with a leading space

Bloke wrote:

Hmmm, doesn’t for me if I turn Leave text untouched on for Excerpts (under Advanced options on the Write panel – shouldn’t need a plugin for this unless I’ve missed something). But with it being Textiled then yes, there’s a tab character before the opening <p> tag. Try zapping that character instead of a space.
However, if you use an opening space then it seems you’re damned in this context because the opening space that you use to disable Textile gets included in the content. Not good. Erm, yeah, ummm, not sure sound of feet rapidly disappearing into the distance

Thanks, Stef. I perhaps didn’t explain myself well — I’m getting the same behaviour as you stated above. Leaving text untouched == no problem. I ended up solving it by disabling Textile functionality with upm-textile-toggle and then using this query to reset all the previous articles to the same state:

UPDATE `textpattern` SET textile_excerpt = replace(textile_excerpt,“1”,“0”);

Last edited by gaekwad (2012-11-30 08:41:51)

Offline

#15 2012-11-30 12:27:21

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: Excerpts with a leading space

OK, I’ve opened an issue for this on Textile’s GitHub repo – it’s up to netcarver as to whether he wants to make the change or not.

Offline

#16 2012-11-30 12:32:59

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,356
GitHub

Re: Excerpts with a leading space

Els wrote:

You can do that without the plugin, under Advanced Options…

Forgive me for asking a dumb question — which option is it?

Edit: duh, OK, I figured it out — you meant on the Write tab, not the Preferences tab. The plugin automatically turns it off for future articles, and that’s what I’m looking for.

Last edited by gaekwad (2012-11-30 12:39:22)

Offline

#17 2012-12-05 01:02:41

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: Excerpts with a leading space

@philwareham,

thanks for raising this on the github issue tracker. Partial solution here. Let me know if it works for you.


Steve

Offline

Board footer

Powered by FluxBB