Welcome to TalkGraphics.com
Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 38

Thread: Iframes and SEO

  1. #21
    Join Date
    Mar 2009
    Location
    SC, USA
    Posts
    186

    Default Re: Iframes and SEO

    Quote Originally Posted by Drwyd View Post
    Clip property to the rescue :-)

    Modified version of Covoxer's file below.
    Drwyd - Can you explain what you have done here? This is still not workable for me as you appear to be limited to text that is only as long as the page that the frame is on.

    But the solution looks good because
    1: The Text content is fully editable/maintanable in Xara.
    2. The code generated can be seen by SE's so organic ranking may be improved, especially if the rest of the page has images and little text.

    But - major problem - if you can only show text in the frame that is limited to the length of the page I still have a problem. Would it make sense in this case to:
    1. Make a separate page, the length of the text, to put the frame in.
    2. Put a php include in the "master" page that will include the html file generated in 1?

    Reflecting - this is really the same as going back to the original solution but using a php include of the exported text formatted page and avoiding the complexities of the frames.
    Last edited by V12CatMan; 19 December 2009 at 10:02 PM. Reason: More Information

  2. #22
    Join Date
    Mar 2009
    Location
    England
    Posts
    2,044

    Default Re: Iframes and SEO

    Using the clip property is probably not the best way to doing it. It would be a nightmare to maintain.

    I am working on another way, not as versatile as Covoxer's but it might serve your purposes.

    I'm having problems getting is to display properly in IE at the moment (space above first para), I'll post the solution if/when I find it (my CSS skills are getting rusty through lack of use )

    Drwyd

    P.S. Placeholder text repeated on page for easy reading.
    Attached Files Attached Files

  3. #23
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: Iframes and SEO

    Quote Originally Posted by V12CatMan View Post
    1. Problem? When the text exceeds the length of the page the scrolling box only seems to display the amount that that matches the page length.
    Unfortunately, yes. The text, or any other objects that are placed outside of the page rectangle are not exported by the html filter so you can't actually export any text longer than a page.
    I'll think about possible workaround but I can't promise anything.
    2. Is there a way to avoid the user seeing the horizontal scroll control when the text is not as wide as the window?
    Ah yes, of course! It's my mistake. I was in a hurry making that example file so I had placed the placeholder on the closing layer incorrectly. It has to be on the top left corner. It's treated as a part of the frame content so it influences scrollbars. See attached.
    Attached Files Attached Files
    John.

  4. #24
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: Iframes and SEO

    Quote Originally Posted by Sebastian View Post
    Hi John,
    i see in the source of your example the following script: .....
    where do you put this code? I can't see a placeholder for it.
    I don't put it. It's a default script exported with any page that doesn't have any rollover/popup effects. It's used instead of the roe.js.
    Export an empty page from the Xtreme and you'll see this same script in it.
    John.

  5. #25
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: Iframes and SEO

    Quote Originally Posted by V12CatMan View Post
    John - Would a php include be another solution - for both SE's and also to make editing the text easier?
    Yes. PHP is a very good solution.
    Something like this in the placeholder:
    <div style="overflow:auto; height:330px; width:450px;">
    <?php include "text_file.htm"; ?>
    </div>
    I would suggest following:
    Code:
    <div style="width:100%; height:100%; overflow:auto;position:absolute;left:0px;top:0px;">
    <?php include "text_file.htm"; ?>
    </div>
    Then you can set the frame size simply resizing the placeholder in Xtreme.
    Does it work?
    John.

  6. #26
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: Iframes and SEO

    Quote Originally Posted by sledger View Post
    Interesting John, if a little convoluted. But how would you get rid of the ugly horizontal scroll bar?
    Sorry, it was a wrongly positioned placeholder on the closing layer. See my answer to V12CatMan.
    John.

  7. #27
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: Iframes and SEO

    Quote Originally Posted by Drwyd View Post
    I am working on another way
    Isn't it the same as suggested in post #9 ?
    John.

  8. #28
    Join Date
    May 2009
    Location
    Germany
    Posts
    145

    Default Re: Iframes and SEO

    Hi John,
    Quote Originally Posted by covoxer View Post
    ...
    Export an empty page from the Xtreme and you'll see this same script in it.
    thank you for your answer. If i export a empty website the script part was not exported. So maybe the german/MAGIX version is a little bit different.

    Sebastian
    Attached Files Attached Files

  9. #29
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: Iframes and SEO

    Sebastian, I've said from Xtreme, didn't I?
    And you obviously use WD.
    Now, in WD all templates (new page, empty page) contain the "MouseOver" layer.
    If this layer is present, it is assumed that the page has a rollover effect and so the roe.js is used instead.
    So, in WD, create new document, remove the "MouseOver" layer, and export. Now you see it?
    John.

  10. #30
    Join Date
    May 2009
    Location
    Germany
    Posts
    145

    Default Re: Iframes and SEO

    John,
    you are so right, the script was exported without the mouseover layer.
    You wrote Xtreme in your post and the german version of WD is named MAGIX XTREME WEBDESIGNER. I thought it means the same.

    Thank you and all other again for your explanations and tipps. This forum is really good and is helping me a lot. Unfortunately the german support for WD is not so good, so forgive me, if i bother you with dumb questions

 

 

Bookmarks

Posting Permissions

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