If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Enjoy an ad free experience by logging in. Not a member yet? Register.

Javascript blog problem.

Hi all,

Sorry to bother you. I have been really struggling understanding what is probably quite simple. I have been working on BlogSpot coding a theme. Currently, whenever a post is made, on the homepage it gets turned into a 'summary' rather than being shown as a full post. Below is the code which I have identified as handling the task. I have tried changing it and deleting it many times all resulting in the same result - The post is visible but none of the hyperlinked titles or post dates etc show, only the main content. I was hoping if someone could help me solve this so that when I post, a full article is shown on the blog rather than just a summary?

Users who have thanked Old Pedant for this post:

Do note that arbitrarily removing HTML tags can have funny consequences! (Using either their code or mine.)

For example:

Code:

This is a nothing post. <span style="display: none;">This blog owner is a doofus</span>

As written, the stuff in the span doesn't show.

After removing the HTML tags, you get

Code:

This is a nothing post. This blog owner is a doofus

All of this is just really poorly thought out. The blog software *SHOULD* be using a WYSIWYG text editor that does *NOT* allow HTML tags and that, instead, uses pseudo-tags (as does this forum, where we can use [ b] xxx [/ b] tags--without the spaces--to create bold text).

I think I would avoid BlogSpot if it doesn't support something like that!

Users who have thanked Old Pedant for this post:

Thanks for all your help, it worked perfectly! Agreed, this code is very messy and doesn't help newbies at JS like me The BlogSpot platform the gives no option, they really need to update. They only recently started to allow people to code!