Download & Extend

Transform WLW -more- splitter into Drupal -break- splitter

Project:Windows Live Writer BlogAPI
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

This patch allows Windows Live Writer users to make use of the "Split post" function to separate a teaser from the rest of a post, by replacing the "more" comment it uses for the function with a "split" comment as used by Drupal.

AttachmentSize
wlw_blogapi.module.patch823 bytes

Comments

#1

are you suggesting that this feature is not working?

#2

Is it making the check somewhere other than _wlw_blogapi_filter_extra_code? This isn't the slug feature, but the "Split post" toolbar button feature that this takes care of.

The button inserts a comment <!--more--> at the current cursor position when clicked (splitting paragraphs if necessary). But as Drupal uses <!--break--> for the same purpose instead, we need to map the former to the latter when saving a node. (We might want to map it back when WLW gets an already published node for editing, too.) It is to handle this situation, that this patch has been created.

#3

Updating the patch to round-trip the transformation. Now when opening a blog post in WLW, <!--break--> gets turned into WLW's post splitter.

AttachmentSize
wlw_blogapi.module.patch 1.32 KB

#4

This is working just fine with the 5.x backport, needs testing on 6.x however.

#5

Has this been tested on 6.x yet? I'm only running 5.x, so I can't test it myself right now.

#6

Assigned to:CSCharabaruk» Anonymous
Status:needs review» fixed

This functionality appears to be present in the latest 6.x-1.x-dev release (2009-Nov-16).

#7

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here