Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
--- untitled +++ (clipboard) @@ -1,19 +1,19 @@ <mt:Section regex_replace="/^[ ]+/gsm",""><mt:Section regex_replace="/([^=])\n\n\n+/g","$1\n\n"> - <mt:Entries lastn="1"> - <mt:entryfeaturedimageAsset> - <mt:AssetLabel setvar="label"> - <mt:AssetURL setvar="url_orig"> - <mt:AssetProperty property="image_width" setvar="w"> - <mt:AssetProperty property="image_height" setvar="h"> + <mt:Entries lastn="100"> + <mt:EntryFeaturedImageAsset> + <mt:AssetLabel setvar="label"> + <mt:AssetURL setvar="url_orig"> + <mt:AssetProperty property="image_width" setvar="w"> + <mt:AssetProperty property="image_height" setvar="h"> <mt:CroppedAsset label="mostrecentphoto"> - <mt:AssetProperty property="image_width" setvar="cw"> + <mt:AssetProperty property="image_width" setvar="cw"> <mt:AssetProperty property="image_height" setvar="ch"> <$mt:Var name="label"$> * <$mt:Var name="url_orig"$> (orig), <mt:Var name="w">x<mt:Var name="h"> * <$mt:AssetURL$> (cropped), <mt:Var name="cw">x<mt:Var name="ch">) </mt:CroppedAsset> - </mt:entryfeaturedimageAsset> + </mt:EntryFeaturedImageAsset> ============================= </mt:Entries> </mt:Section> -</mt:Section> +</mt:Section> \ No newline at end of file
This paste will be private.
From the Design Piracy series on my blog: