WordPress.org

Ready to get started?Download WordPress

Forums

WP Content Imported into HTML Page - Need Formatting Help (3 posts)

  1. dfseward
    Member
    Posted 4 years ago #

    Hello all,

    Let me preface this with a disclaimer: I can't code javascript or php. I have gotten pretty good at copying scripts from helpful tutorials, etc, to accomplish what I need.

    I'm also a RSS / feed newbie, and I don't really know how they're structured.

    OK, that said: I am building a website for a small company. The site is built in html / css. There is also a wordpress blog (modified atahualpa theme) installed which is working perfectly.

    I've set up a feedburner account. What I want to do is pull blog items onto the home page of the site (index.html). Right now I am using the feed to import content into a div. I have two issues:

    1) If I want to display images, I have to use the full html of the feed items (latest wordpress posts). This will display images but also the entire text of the post, which is too long. I want to be able to truncate the text of the post.

    2) I don't know how to downsize images / video that are wider than the div. Perhaps a javascript solution in the html would be the way to go, but I haven't found anything helpful. I've looked at the xml feed source too; it's possible that my solution could be in here but I wouldn't know where to begin.

    I don't expect someone to be able to solve this for me, but any hints or points in the right direction to start learning would be greatly appreciated. I've spent literally 2/3 of my day (8+ hours) banging my head against this and not getting anywhere. Maybe my skull is thick today or something. I don't like to have to ask for help. :/

  2. CCrest
    Member
    Posted 4 years ago #

    Wrong forums.

    Has nothing to do with WordPress installation -or even WordPress "which is working perfectly."

  3. dfseward
    Member
    Posted 4 years ago #

    Thanks for the snarky and completely unhelpful reply.

    Interpreting a wordpress feed could actually have something to do with wordpress - i.e. you might be able to format the feed source to dictate parts that the reading script interprets (thumbnail image, truncated description, etc). I personally don't know; see my above post.

    I don't expect someone to be able to solve this for me, but any hints or points in the right direction to start learning would be greatly appreciated.

    Regardless, I'll continue looking elsewhere as well. If anybody else is feeling more generous than the last poster it'd be appreciated. Thanks in advance.

Topic Closed

This topic has been closed to new replies.

About this Topic