Sunday, 18 August 2013

Post HTML date-based content on blog

Post HTML date-based content on blog

I have a HTML code sorted by date:
<html>
<head>
<title>Main Title</title></head>
<body>
<a name="01/01/AM"></a>
<h3>January 1</h3>
<h3>Title 1</H3><P>
<h4><i>Subtitle 1 </i></h4><p>
Paragraph 1-1<p>
Paragraph 1-2<p>
<a name="01/02/AM"></a>
<h3>January 2</h3>
<h3>Title 2</H3><P>
<h4><i>Subtitle 2 </i></h4><p>
Paragraph 2-1<p>
<a name="01/03/AM"></a>
<h3>January 3</h3>
//And so on until December 31
</body>
</html>
I am planning to create a hidden post/page on Blogger (or WP), parse that
html code and display only the content for today's date in a visible
unique page. I've been trying to use JavaScript to get the date, but I
don't know how to parse the data and display it in a different post/page.

No comments:

Post a Comment