The Artima Developer Community
Sponsored Link

.NET Buzz Forum
dasBlog to .Text Converter

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Peter G Provost

Posts: 849
Nickname: pprovost
Registered: Aug, 2003

Peter G Provost is a Solution Architect for Interlink Group in Denver, CO.
dasBlog to .Text Converter Posted: Apr 12, 2004 9:12 AM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Peter G Provost.
Original Post: dasBlog to .Text Converter
Feed Title: Peter Provost's Geek Noise
Feed URL: /error.aspx?aspxerrorpath=/Rss.aspx
Feed Description: Technology news, development articles, Microsoft .NET, and other stuff...
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Peter G Provost
Latest Posts From Peter Provost's Geek Noise

Advertisement

I've almost finished my dasBlog -> .TEXT converter. It currently handles all of the entries, plus categories and comments, quite nicely. Now I'm trying to decide how to handle permalinks.

As far as I'm concerned, there are two kinds of permalinks here. Internal permalinks are the ones where I am linking from one post to another. External permalinks are where you, my readers, link to my posts.

My first thought had been to fix the internal permalinks by looking for the pattern in the dasBlog posts and replacing them. The code for that is rather simple, but there is a problem getting .TEXT entry IDs without saving them once and I don't really want to have to hit the database twice... one to INSERT and get the ID and then a second time to update the content with the fixed permalinks.

So instead I'm thinking about writing an HTTP handler and registering it on the original dasBlog path. This way I will solve both the internal and external permalinks problem and my converter will be simpler.

If anyone else is going to be doing this kind of conversion and it interested in helping me test this code, drop me a line.

Read: dasBlog to .Text Converter

Topic: NSynch goes Asynch Previous Topic   Next Topic Topic: Generate Thumbnail Images from PDF Documents

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use