Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Zoom Search / iFrame question

  1. #11
    Adendum
    Guest

    Default Re: Zoom Search / iFrame question

    Charles,

    Many thanks for your perseverance on this.

    OK...one issue at a time:-

    Zoom.
    That issue is resolved - using my method of iFrames, Zoom now works and
    I assume your method it will work too. So this one's closed.
    As the site currently stands my Zoom results page points to the main
    page not the client iFrame page but as there is a javascript concern
    (that calls in the main page) changing to the php style is the next step.

    iFrames/php.
    I tried one page, the home page and used your script to include the
    client page. Thanks for that too! My main page is a .php page and I also
    made the client page a .php page. That all worked to a point. The main
    index page did include the client page (from a different folder
    html-client) but the images used in the client page are all now broken
    links. Instead of looking for the images on the /html-client/assets
    folder the page is looking for the images on /assets folder. So I guess
    the php include assumes the included content will use the main page/site
    structure and takes no notice or overrides the code in the client page?

    Therefore...If I republish the client pages to a sub-folder under the
    main site's html folder e.g. html/client/index.php and
    html/client/html/news.php and html/client/html/aboutus.php and so on
    will that see the images? Probably not as the images will be in
    html/client/assets.

    lol....my head is spinning now!

    Paul




    On 13/02/2010 23:27, Charles Edmonds wrote:
    > On Sat, 13 Feb 2010 16:05:17 +0000, Adendum wrote:
    >
    >
    >> Well good news on Zoom - for those interested.
    >>
    >> You can only index a site using iFrames (and I assume php includes) with
    >> SPIDER mode - which makes sense but I couldn't get it to see all the
    >> iFrame pages until I figured out that there is a setting in the spider
    >> mode (a small button - "more") and when you click on the URL you can
    >> change from the default of "follow internal links" to "follow internal
    >> and external". Instant success!!!
    >>
    >> Happy bunny time again
    >>

    > However with iFrames when you click a link in Zoom, it takes you to the
    > child page doesn't it?
    >
    > So again if you need SEO on content for the iFrame you need a link back to
    > the parent page and you also need to consider what reaction a visitor will
    > have if they come into the include page and have no idea what site (or
    > segment of the site) it belongs to.
    >
    > At the end of the day, PHP includes or SSI work better for SEO
    > requirements.
    >
    > Charles
    >
    >
    >
    >


  2. #12
    Charles Edmonds
    Guest

    Default Re: Zoom Search / iFrame question

    On Sun, 14 Feb 2010 14:43:30 +0000, Adendum wrote:

    > Many thanks for your perseverance on this.


    No problem - glad to help.

    > Zoom.
    > That issue is resolved - using my method of iFrames, Zoom now works and
    > I assume your method it will work too. So this one's closed.


    Yes, using the follow links setting in Zoom will do just that.

    Using Include files (PHP or SSI) the content is absorbed into the parent
    page, so it is a non-issue.


    > As the site currently stands my Zoom results page points to the main
    > page not the client iFrame page but as there is a javascript concern
    > (that calls in the main page) changing to the php style is the next step.



    > iFrames/php.
    > I tried one page, the home page and used your script to include the
    > client page. Thanks for that too! My main page is a .php page and I also
    > made the client page a .php page.


    Just an FYI - the client page does not even have to have an extension.

    Keep in mind that it is not a real page ( IOW - there should be no HTML,
    HEAD, or BODY tags in it. It is just a chunk of content ).


    > That all worked to a point. The main
    > index page did include the client page (from a different folder
    > html-client) but the images used in the client page are all now broken
    > links. Instead of looking for the images on the /html-client/assets
    > folder the page is looking for the images on /assets folder. So I guess
    > the php include assumes the included content will use the main page/site
    > structure and takes no notice or overrides the code in the client page?


    Everything is relative if your using relative links.

    So a link on the parent page in the html folder that points to
    .../assets/images goes UP one directory level, OVER to the assets directory,
    DOWN into that and DOWN again into the images folder.

    If you have the same link path from a chunk of HTML that is in a folder
    called client that is BELOW the html folder, it is going to have a
    different path like this:

    /assets/images

    That would originate the URL from the root directory.


    > Therefore...If I republish the client pages to a sub-folder under the
    > main site's html folder e.g. html/client/index.php and
    > html/client/html/news.php and html/client/html/aboutus.php and so on
    > will that see the images? Probably not as the images will be in
    > html/client/assets.


    Just cheat<g>.

    Put the client pages IN the html folder and your done.

    Otherwise you need to adjust your path, or put copies of the images for the
    client sections in a different folder that is in a path relative to the
    location of the client pages.

    OR

    Use absolute URLs to the images like:

    http://www.domain.com/assets/images/...


    > lol....my head is spinning now!


    Your getting close then<g>.

    Good luck!

    Charles


    --
    -------------------------------------------------------------------------------------------------------
    Charles Edmonds
    cjeByteMeSpammers@lansrad.com (remove the "ByteMeSpammers" to email me)
    www.clarionproseries.com - "Get ProPath, make your Clarion programs ready
    for Windows 7 and Vista!"
    www.ezchangelog.com - "Free ChangeLog software to manage your projects!"
    www.setupcast.com - "A revolutionary new publishing system for software
    developers - enhanced for SetupBuilder users!"
    www.pagesnip.com - "Print and Save the Web, just the way you want it!"
    www.clarionproseries.com - "Serious tools for Clarion Developers"
    www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
    and Forms!"
    www.lansrad.com - "Intelligent Solutions for Universal Problems"
    www.fotokiss.com - "World's Best Auction Photo Editor"
    -------------------------------------------------------------------------------------------------------

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •