PageView Plugin

Apr 14, 2005 | Tags: , , | Written by John

PageView is a plugin that will display another web page inside the current post. This is achieved with the use of an iframe - an HTML tag that allows a webpage to be displayed inline with the current page. Although an iframe can lead to a complicated website, it can be very effective when used appropriately.

Installation

  1. Download pageview.zip
  2. Unzip
  3. Copy to your /wp-content/plugins directory
  4. Activate plugin

You can find full details of installing a plugin on the plugin installation page.

Usage

No sniplet called example

An example is shown below:

[pageview / "Urban Giraffe" A blog within a blog!]
Share This

Comments (page 9 of 11)

  1. John :

    Feb 5, 2008 8:36 pm

    I figured it out. changed line 23 of pageview.css to 500px

  2. jsarber :

    Feb 4, 2008 1:02 am

    Hey again. It turns out that the page I was trying to present in the frame was causing the problem. I don't fully understand why but certain pages of GameKnot.com could not be displayed. It automatically redirected users from my page (with Pageview being used on it) to GameKnot. Thanks anyway.

  3. John :

    Feb 2, 2008 9:36 pm

    Hi. Thanks for the plugin. I'm trying to display this Google Calendar
    http://www.google.com/calendar/embed?src=auburnbrewclub%40gmail.com&ctz=America/Chicago
    in this Wordpress page
    http://www.auburnbrewclub.org/calendar/

    It looks great so far, except the height. How can I change the height of the iframe?

  4. jsarber :

    Feb 2, 2008 6:44 pm

    I've left two comments now and both mysteriously disappeared. Go to jeremysarber.com/personal and click the "Current Chess Game" link at the top. You'll see what it does.

  5. John (author) :

    Jan 30, 2008 10:02 pm

    jsarber, what redirects to the front page? Do you have an example I can look at?

  6. jsarber :

    Jan 29, 2008 3:54 pm

    On my blog, it redirects to the webpage rather than presenting it in the frame. What's wrong?

  7. John (author) :

    Jan 7, 2008 4:07 am

    Steve, it's not something you can do through CSS and instead you'll have to resort to some JavaScript code. Take a look here for some more details.

  8. Steve :

    Jan 4, 2008 12:12 pm

    Hi John,
    As you stated, the code below changes the length of the iframe. is there a way for the iframe to dynamically adjust to the length of iframed webpage as the pages of the iframed webpage change length? I'm trying to achieve the seamless look.

    div.pageview
    {
    height: 200px;
    }

    Thanks!
    Steve

  9. John (author) :

    Dec 31, 2007 12:21 am

    You need to modify pageview.css in the plugin directory and add a specific height:

    div.pageview
    {
    height: 200px;
    }

    Alternatively you can add this to style.css in your theme.

  10. Waremock :

    Dec 24, 2007 8:11 am

    What do I need to do in order to make it show the entire site. It only shows a portion of it with the scroll bar. What do i need to add in pageview.php?

Leave a comment


XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Home | Software | Terms & Conditions | Sitemap | John Godley © 2008
Close
E-mail It