Dottext modification to extract categories and creation date from title string
This patch to Dottext is intended to simplify importing historical posts and allows you to assign categories when posting from Outlook using NewsGator.
You can download a zip of the modified source and binaries.
Details:
· Looks for comma separated date and categories in the title string. If they are found, they are removed from the remainder of the title.
· Categories are matched based on their title string and are case insensitive.
· Both the web/admin add-new-post code and the web/service code used by NewsGator have been updated.
· The date formats recognized are: "u", "s", "yyyy-MM-dd HH:mm:ss", "yyyy-MM-dd HH:mm", "yyyy-MM-dd", "yyyy-MM-dd HH:mm:ss ddd", "yyyy-MM-dd HH:mm ddd", "yyyy-MM-dd ddd".
For example, to create a new posting that you actually composed last night while off-line and would like to categorize under both dotNET and Dottext, enter a NewsGator "Subject:" or admin "Post Title" as follows:
2004-01-07 23:00, dottext, dotnet, This is the actual post title about dottext and dotnet stuff
The date, categories, and commas will be stripped from the actual post title.
Sort of a Wiki approach to supplying post meta data.
Dottext version patched:
· Dottext 0.95.2004.102 Source
Files modified/added:
· Code\DottextWeb\Admin\UserControls\EntryEditor.ascx.cs
· Code\DottextWeb\Services\SimpleBlogService.asmx.cs
· Code\Dottext.Framework\Util\TitleParser.cs
Comments
I think your idea of posting to .Text from Word is Great. Unfortunately, it is not working for me. No matter what I do, I get an error message "Blog 'General Information' posting service is mis-configured or is inaccessible".
I am running the latest version of text. I modified all of the necessary files (listed above and available in your download) and added the TextParser.cs file before recompiling. I get no errors on compile, and I can connect to the web service url through the browser. I have a category named "General Information" that I am trying to post to.
I would really love to be able to use this tool.
Posted by: Anthony Gatlin | November 6, 2004 07:50 PM
What's the posting url you are using? Does it end in SimpleBlogService.asmx?
Posted by: Tone | November 9, 2004 10:20 AM