Skip to content
Commits on Jan 4, 2009
  1. @JEG2

    Adding encoding comments to the Bundles directory where needed. Patch…

    … from Dave Thomas.
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Blogging.tmbundle@11072 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    JEG2 committed Jan 4, 2009
Commits on May 30, 2008
  1. @infininight

    Move redcloth library into the bundle.

    git-svn-id: http://svn.textmate.org/trunk/Bundles/Blogging.tmbundle@9807 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    infininight committed May 30, 2008
Commits on May 29, 2008
  1. @infininight
Commits on May 17, 2008
  1. @sorbits

    • when posting to a blog we let the dateCreated header be the time of…

    … the local system (w/o time zone info) and additionally send a date_created_gmt header which is the time in GMT.
    
    • when receiving data from the blog, we first check for a date_created_gmt header and use that (as the time in GMT) and fall back on dateCreated, which we interpret as in the users local time zone.
    
    The date_created_gmt is a new header introduced by WordPress and is supposed to solve the problem with the missing time zone info in the standard. The (new) semantics of dateCreated (i.e. treating times as in the users local time zone) seems to be the consensus (prior to the GMT header) despite being rather fragile.
    
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Blogging.tmbundle@9600 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    sorbits committed May 17, 2008
Commits on Mar 10, 2008
  1. @infininight

    Remove custom textmate library in favor of the main library. Switch f…

    …rom using CocoaDialog to TextMate::UI.
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Blogging.tmbundle@9082 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    infininight committed Mar 10, 2008
Commits on Nov 27, 2007
  1. @ciaran

    • Only output the Slug: and Keywords: headers when they are not empty

    • Changed += to >> for blazing fast blogging
    
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Blogging.tmbundle@8555 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    ciaran committed Nov 27, 2007
Commits on Nov 26, 2007
  1. @sorbits

    • show a slug header if one was returned from the server — patch from…

    … Alexey Blinov
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Blogging.tmbundle@8552 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    sorbits committed Nov 26, 2007
Commits on Nov 12, 2007
  1. @infininight

    Remove key equivalent for Help command.

    git-svn-id: http://svn.textmate.org/trunk/Bundles/Blogging.tmbundle@8434 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    infininight committed Nov 12, 2007
Commits on Oct 19, 2007
  1. @sorbits

    • use TM_FULLNAME instead of TM_USERNAME in all templates and remove …

    …the setup of TM_USERNAME from the template script/helper
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Blogging.tmbundle@8306 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    sorbits committed Oct 19, 2007
Commits on Sep 26, 2007
  1. @sorbits

    • remove the to_i cast for the post header (post_id) — there seems to…

    … be no stated requirement that the post ID actually be an integer
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Blogging.tmbundle@8227 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    sorbits committed Sep 26, 2007
Commits on Aug 27, 2007
  1. @sorbits

    • change mt_tbping_urls to mt_tb_ping_urls (which seems to be how it …

    …is spelled/punctuated in Typo and WordPress)
    
    Patch from ilpssun (via alakazam) and till (via JEG2)
    
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Blogging.tmbundle@8042 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    sorbits committed Aug 27, 2007
Commits on Jul 7, 2007
  1. @sorbits

    • support ‘slug’ as a valid header keyword

    git-svn-id: http://svn.textmate.org/trunk/Bundles/Blogging.tmbundle@7702 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    sorbits committed Jul 7, 2007
  2. @sorbits

    [NEW] You can use ‘Slug: «my name»’ to select the name used for the p…

    …ermalink, the one normally derived from your post’s title (presently only supported by WordPress 2.2)
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Blogging.tmbundle@7701 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    sorbits committed Jul 7, 2007
Commits on Jul 5, 2007
  1. @sorbits

    • the regexp matching endpoint URLs used .+ before an optional match …

    …of :, and so because the former is greedy, the password componenet would always be matched as part of the username.
    
    Patch from Robin Houston
    
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Blogging.tmbundle@7674 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    sorbits committed Jul 5, 2007
Commits on Jun 11, 2007
  1. @sorbits

    • auto-detect Serendipity so that this system does not get the mt-fla…

    …vor of dateCreated (maybe the default blogging system should not be mt, given that it uses a non-standard value for dateCreated)
    
    Patch from Philip Hofstetter — see http://lists.macromates.com/pipermail/textmate/2007-March/018472.html for more info.
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Blogging.tmbundle@7499 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    sorbits committed Jun 11, 2007
Commits on Jun 3, 2007
  1. @sorbits

    • add a “.to_s” to post['description'] since one user reported an exc…

    …eption with Typo (which apparently returns no actual body text when fetching a post)
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Blogging.tmbundle@7429 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    sorbits committed Jun 3, 2007
Commits on May 27, 2007
  1. @sorbits

    • improve error tool tips to show servers fault string (wasn’t shown …

    …previously because exceptions apparently cannot leave the TextMate.call_with_progress block)
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Blogging.tmbundle@7365 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    sorbits committed May 27, 2007
Commits on May 26, 2007
  1. @sorbits

    [CHANGED] A date header in the post is now always delivered to WordPr…

    …ess. If your blog’s time zone is not GMT then you need to update to WordPress 2.2 for proper interpretation of this date.
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Blogging.tmbundle@7341 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    sorbits committed May 26, 2007
Commits on May 18, 2007
  1. @sorbits
Commits on Apr 21, 2007
  1. @sorbits

    • if the post had no title but the document was saved, post_or_update…

    … would mutate the frozen ENV['TM_FILENAME'] variable (via sub!) resulting in an exception
    
    • remove all extensions from the file name when generating a suggested title
    
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Blogging.tmbundle@7026 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    sorbits committed Apr 21, 2007
Commits on Apr 6, 2007
  1. [CHANGED] The Ruby support modules Dialog and TextMate::Dialog have b…

    …een merged into TextMate::UI. "dialog.rb" is now "ui.rb". All of the former Dialog module methods are now accessed through the TextMate::UI module, e.g. "TextMate::UI.menu(…)" or "include TextMate; UI.menu(…)".
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Blogging.tmbundle@6958 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    Chris Thomas committed Apr 6, 2007
Commits on Mar 19, 2007
  1. @sorbits
  2. @sorbits
Commits on Mar 11, 2007
  1. @sorbits
Commits on Mar 4, 2007
  1. @sorbits

    Add the following keys to the bundle’s info.plist:

    contactName:
       The full name of the contact for this bundle.
    contactEmailRot13:
       A ROT13 encoded email address for the bundle contact (we obfuscate it to avoid spammers from picking up the files, seeing how bundles will often be available via anonymous svn over http).
    description:
       A short description for this bundle. Do link to more info about the language (or whatever) the bundle is about. I decided on using HTML for this (but leave out the initial paragraph tag) since it seemed like overkill to run a single line of text through Markdown.pl, just to convert [foo](link) into <a href="link">foo</a>
    
    Many of the current descriptions could use some improvements, I just wanted to get the ball rolling :)
    
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Blogging.tmbundle@6718 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    sorbits committed Mar 4, 2007
Commits on Feb 10, 2007
  1. @sorbits

    • set input to ‘Entire Document’ so that it can be scanned for a pote…

    …ntial end point specification (blog) from which categories are fetched
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Blogging.tmbundle@6546 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    sorbits committed Feb 10, 2007
Commits on Oct 31, 2006
  1. @sorbits

    • use the value of TM_XHTML last in the inserted <img>-tag for droppe…

    …d images (so only XHTML users will get a /)
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Blogging.tmbundle@5825 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    sorbits committed Oct 31, 2006
  2. @sorbits
Commits on Oct 30, 2006
  1. @bradchoate
  2. @bradchoate

    Use the new tm_dialog menu mode to display available blogs as a menu …

    …for the blog snippet. Added a menu method to the Dialog package.
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Blogging.tmbundle@5768 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    bradchoate committed Oct 30, 2006
Commits on Oct 29, 2006
  1. @sorbits

    • new markdown_to_help.rb script, this takes one or more markdown fil…

    …es as argument (or read from stdin) then outputs the HTML with a table of contents, enumerated sections, and horizontal separators between each section
    
    • updated LaTeX and Blogging help commands to use markdown_to_help.rb
    
    Currently commands need to wrap the HTML in the web_preview.rb header/footer, which seems redundant — this is mainly because markdown_to_help.rb is presently not smart enough to figure out which text to use for titles.
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Blogging.tmbundle@5714 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    sorbits committed Oct 29, 2006
Commits on Oct 9, 2006
  1. @JEG2

    Removing a workaround that is no longer needed, now that this command…

    … works with Typo.
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Blogging.tmbundle@5416 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    JEG2 committed Oct 9, 2006
Commits on Oct 6, 2006
  1. @sorbits

    • go through Blogging::client when talking with server (to get proxy …

    …support etc.)
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Blogging.tmbundle@5383 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    sorbits committed Oct 6, 2006
Commits on Oct 2, 2006
  1. @sorbits

    • for the categories returned: check if each entry is actually a stru…

    …ct (Hash) and if it has a categoryName field, if no such field, fall back to the description field (which seems to be the only mandatory field in the standard usable as the category name). If no useful field was found, or the entry is not a struct (as is currently the case for Typo) then call to_s on the entry and use that.
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Blogging.tmbundle@5365 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    sorbits committed Oct 2, 2006
  2. @JEG2

    [FIXED] Modified Blogging bundles Fetch Categories command to default…

    … to the old snippet if anything goes wrong. This is a workaround until we can figure out why Typo is returning an Array of nils.
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/Blogging.tmbundle@5364 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    JEG2 committed Oct 2, 2006
Something went wrong with that request. Please try again.