Need help? Check out our Support site, then


html snippet to show latest postings

  1. Is there a simple HTML or Javascript snippet I could put on other pages or in my email signature that will show links to the latest 3 or 5 posts on my blog? Thanks - Paul

    The blog I need help with is sennovation.wordpress.com.

  2. Please paste the exact URL of your blog when asking questions here (or link your nickname to your blog as explained in the Sticky "8 Things to Know"). We cannot help you without that.

  3. my blog is http://sennovation.wordpress.com

    odd that we need to state that, since the form we fill out when we submit a question lists all a member's blogs and we need to pick which blog the question relates to. But I see that info is not added to the question when it is posted.

  4. The form is just to cut down on the number of .ORG questions who post here and is just being implemented, still has a ways to go.

    I see you found the recent posts widget. (And no javascript is allowed here.) Does that solve your problem?

  5. pfaulstich,

    If you are talking about showing your recent posts when you comment on other people's blogs, I think that would look spammy.
    You can link your name to your blog so that when you comment people will know how to find your blog:

    How to make your name link to your blog:
    Go into your dashboard -> users -> your profile -> then scroll down to 'contact info'. In the spot where it says 'website' fill in the address of your blog and save the changes.
    Now... when you comment here and on other blogs, your name will link to your blog. If you do this before you post your request for help, it will allow forum volunteers to be able to help you quicker since they won't have to ask you for a link and wait until you come back to post one.

    from http://en.forums.wordpress.com/topic/7-things-to-know-before-posting-in-wordpresscom-forums?replies=1
    #2 on the list.

  6. Thanks. What I want is something just like the recent posts widget - but to use in an HTML page outside of wordpress. So I'm looking for an HTML or JavaScript snippet that I can put there - eg, on my homepage or as a part of my email signature. The snippet should call wordpress and return the latest posts.

    For example, I would like for my email signature to look something like this:

    check out my blog: http://sennovation.wordpress.com
     Latest posts:
    * Heating Degree Days & Normalized Therms
    * Steven Chu
    * Where is the hydrogen?

    but for those latest posts to be filled in automatically

  7. 1tess - I agree that putting recent posts in comments on other people's blogs would definitely be spammy. But on my home page or on my email signature would be reasonable. - Pal

  8. pfaulstich,
    As I said, to me a comment like that on my blog would look spammy—with links that don't necessarily relate to my post that you commented on. Those comments always go to moderation for me, and I edit them out (well, to be honest, it's only happened once for me).
    But if a commenter has a link to their blog in their name, then there is no problem. And, if a commenter puts a link that is relevant to my post, then I leave it alone.
    With a link to your blog, then other commenters/readers will find your blog and see your latest 3 to 5 posts when they click your name (depending on how many posts you display per page).

  9. Aw. Sorry, I took too long to type.
    You could put a link to your archives page at the end of each post. If your blog is set to display 3 to 5 posts/page, then that link would show a page with your most recent posts. Wait, I'm thinking…

  10. You're missing what I'm saying. I'm not proposing putting that on a comment. I'm proposing putting it at the bottom of emails.

  11. So you could put http://YOURBLOGNAME.wordpress.com/2009/01/ and that would give you a link to the most recent posts for January 2009. But if you have more posts in January, then readers would have to click through archives pages to dates closer to a date in later January.

  12. pfaulstich
    Sorry, I'm slow at typing and thinking. Do you mean you only want this on emails, not at the bottom of your posts?

  13. You are asking in the wrong place. Since it has nothing to do with wordpress.COM, you will need to ask elsewhere to see if something like that exists.

  14. vivian,
    That is true if all the OP wants is email signatures, but I'm thinking he could use category-page links at the bottom of his posts. His readers would see the most recent links to other posts related to the topic of each post.
    Sorry I have to go, but well... ok

  15. what I'm thinking is I could use a client-side include (eg http://www.tapper-ware.net/devel/js/csi/csi.htm, http://ghp.dwakn.com/content/csi/, or http://www.moock.org/webdesign/javascript/client-side-include/) to include something from wordpress.com. But what I need to know is does wordpress's api have something that would provide this functionality?

  16. vivian - I can figure out the client side include part myself. The part that has to do with wordpress is whether it has the functionality for someone to submit an http request and have it return just the recent posts.

  17. maybe this is a question for wordpress.org, and not wordpress.com, since it has to do with the wordpress api.

  18. That was a whole lot of questions to get down to the fact that you are trying to access the wp.com API :) That's why I said it wasn't a question for this forum since you are talking about client side information.

    Given the difficulty that others have had with the wordpress.COM API, I'd just about say it's impossible to do. (I say that because a lot of third party sites - like those that print blogs - have given up trying to support wp.com since the API keeps changing.) And I doubt that .org can help since the software is different.

  19. What a bummer. I would think this would be a common wish. **sigh** Thanks!

  20. Well, before you give up, try sending your specific question to support http://support.wordpress.com/contact/ Let them tell you whether it is possible.

Topic Closed

This topic has been closed to new replies.

About this Topic