How Should BlogPosts Be Saved In The DB? HTML or Markdown?

1 replies
I'm adding Blog Post syndication functionality to my start-up, but I'm not sure which format the body of the blog post should be saved in? HTML or Markdown? Anyone have experience with this?

Thanks!
#blogposts #html #markdown #saved
  • Profile picture of the author Himanshu1988
    I will recommend HTML. Because if you need to use those Post later at some other project or for some other use then it will take a hell lot of time to format those post if there is no HTML in it. Saving post in HTML itself causes some problem, specifically with special character. PHP has special function to deal with it. (i.e mysql_set_charset() / htmlspecialchars() ). I am not sure which language your using but I am quite sure whatever language your using has some way to deal with it. In short go for HTML but make sure that you address the special character issue.
    Signature

    Web Design | SEO | WordPress | Mobile App @ ZOTO Solutions

    {{ DiscussionBoard.errors[9675226].message }}

Trending Topics