Background: my application is definitely an extension to some wordpress blog. It downloads a json that contains your blog articles, parses them into individual articles (title, id, thumbnail, content) then shows these questions tableView. This part all works and appears nice.

Problem: Im considering a attractive method to present the articles once the user taps one in the tableView. I'd like it too look something similar to TUAW's or BGR's applications but I am stuck -_- I'd like to help keep the content formatting as intact as you possibly can.

Libraries being used: SBJSON, ASIHTTPRequest, SDWebImage

Any advice

- (void)loadMyArticleData
    //create the beginning of the html string
    NSMutableString *html = [NSMutableString stringWithString: @"<html><head><title></title></head><body style=\"background:transparant;\">"];

    // Remove the iframe junk that wordpress has
    NSString *htmlText = [myArticle objectForKey:@"content"];
    NSRange range1 = [htmlText rangeOfString:@"<iframe"];
    NSRange range2 = [htmlText rangeOfString:@"</iframe>"];
    if (range1.location != NSNotFound && range2.location != NSNotFound) {
    htmlText = [NSString stringWithFormat:@"%@%@",
                [htmlText substringToIndex:range1.location],
                [htmlText substringFromIndex:(range2.location+range2.length)]];

   // finish our html code
   [html appendString:htmlText];
   [html appendString:@"</body></html>"];

   //make the background transparent
   [webView setBackgroundColor:[UIColor clearColor]];

   NSURL *baseURL = [NSURL URLWithString:@""];

   //pass the string to the webview
   [webView loadHTMLString:[html description] baseURL:baseURL];

Heres a good example publish (Sorry, it could have been very ugly to publish here)

Adopt these measures (assume you already produce a tableView which works fine right)

1) Produce a ViewController with title, image and content dynamically. By doing this you are able to hide anything without having data for this.

2) Use cellForRowAtIndexPath you realize which cell got selected

3) Use PushView to create ViewController you create.

4) Load all of the values inside it.

Why not a VC having a WebView after which set this content of this WebView for your content aspect in the publish? You might add in your custom CSS rules to format things how you would like them (just like a tags, text size, etc).