[TxMt] Blogging Bundle: Excerpts for Wordpress
Horst Gutmann
horst.gutmann at gmail.com
Sat Nov 4 00:49:33 UTC 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
How about using some kind of separator like WordPress and Drupal are
doing it in their respective editor interfaces? Something like
<!--more--> or <!--break-->?
Regards, Horst
Brad Choate schrieb:
> My only concern here is that excerpts _can_ include newline characters.
> The blogging bundle doesn't support newlines in the header block
> currently. Perhaps it should, in the way that HTTP headers can have
> newlines, as long as the following lines are indented. The whitespace
> added for this should be stripped upon reposting. That would require
> some changes to the grammar as well though.
>
>
> On Nov 3, 2006, at 3:36 PM, Allan Odgaard wrote:
>
>> On 2. Nov 2006, at 04:29, Brett Terpstra wrote:
>>
>>> Excerpt functionality *is* built in to the xmlrpc in wordpress, you
>>> just have to send it the mt_excerpt header, as mentioned on this list
>>> previously. [...]
>>
>> Sounds like we should add these changes to the default blogging.rb?
>>
>> Brett, rather than give these “go to line n and add this” you should
>> just run “diff -u oldfile newfile” or “svn diff” if you edited the
>> checked out version.
>>
>> This gives a nice patch file, where I (and pthers) can then simply do:
>>
>> cd «directory with blogging.rb»
>> patch < bretts_changes.patch
>>
>> Unfortunately Mail mangles leading tabs/spaces, so you have to zip it
>> to attach it here, but ideally one would just paste it in the letter
>> body, then the receiver copies it to the clipboard and do:
>>
>> pbpaste|patch
>>
>> Much much easier than this “go to line this and do that” :)
>>
>>
>> ______________________________________________________________________
>> For new threads USE THIS: textmate at lists.macromates.com
>> (threading gets destroyed and the universe will collapse if you don't)
>> http://lists.macromates.com/mailman/listinfo/textmate
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFFS+Oce3xiN2SrYecRArF1AJ0Top1MVGZzTFkTPQyZdsxgSAwFiACfYqjY
Ol0ANp3qO3iwVYS4yraOobY=
=o8MD
-----END PGP SIGNATURE-----
More information about the textmate
mailing list