Welcome to TalkGraphics.com
Page 4 of 4 FirstFirst ... 234
Results 31 to 38 of 38

Thread: Iframes and SEO

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

    Default Re: Iframes and SEO

    No problem Sebastian.
    It's great if we can help. Feel free to ask any questions. That's the whole point of the forum - to communicate.

    BTW Somehow I didn't realize that Magix version of WD is actually called "Xtreme WD". Thank you for mentioning. I have to remember this.

    Also it would be great if you add the product you use to your forum profile so that everyone could see it. If I knew that you are using WD, I would mention the "mouseover" layer from the start.
    John.

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

    Default Re: Iframes and SEO

    Quote Originally Posted by covoxer View Post
    Isn't it the same as suggested in post #9 ?
    Yes but I was trying to solve the compatibility problems with IE and other browsers. I was thinking about bringing in the text via includes (SSI rather than PHP) and was looking for a way that would display as consistently as your solution.

    Update:- Got it :-) "margin-top: 0px;" on the first para and "margin-bottom: 0px;" on the last para. Sometimes the simplest solutions are the hardest to see
    Attached Files Attached Files
    Last edited by Drwyd; 20 December 2009 at 12:29 PM.

  3. #33
    Join Date
    Mar 2009
    Location
    SC, USA
    Posts
    186

    Default Re: Iframes and SEO

    Quote Originally Posted by covoxer View Post
    Yes. PHP is a very good solution.

    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?
    Not quite got it - but this looks the way to go. I will update.

  4. #34
    Join Date
    Mar 2009
    Location
    SC, USA
    Posts
    186

    Thumbs up Re: Iframes and SEO

    Quote Originally Posted by covoxer View Post
    Yes. PHP is a very good solution.

    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?
    YES - Php Include Work's
    I need to do some more cleanup before I make a post with my example. This is definitely a good clean way to go to handle the iframes objections.

    John - As I look at this I can see a potential enhancement to Xara/WD to handle this. Right now the text is formatted on a separate page - any length (same as iframe method) but the Xara exported html embodies the text in divs and creates a complete html page. What is needed is formatted <p> paragraph text only. (I had to go into EW2 and copy the text into design view and then save it as a simple html file and that is the file I am referencing in the include statement). Actually I imported the other xara files into EW2, renamed Index.htm to Index.php and then tested it using EW2's php server before trying it on a live hosting site.

    If the web properties dialogue box had a selection that allowed the placeholder to be exported as "raw paragraph text only" or something to that effect - the output from Xara would be ready to go. An option to save any page as php would also be useful.


  5. #35
    Join Date
    Feb 2010
    Posts
    3

    Default Re: Iframes and SEO

    I can't find iframes anywhere in Xara Xtreme5. Where is it please?

  6. #36
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default Re: Iframes and SEO

    Hi Pinkyponk,

    Welcome to Talkgraphics.

    In Xtreme 5 you use a placeholder and the replace with html option.

    Create a placeholder (a shape the size you want the iframe to be on your page). Open the Web Properites dialog and select the Placeholder tab. In the Replace with HTML code area, enter your iframe code.

    The following code will display the text from a text.htm file:

    Code:
     
    <iframe name=txtScroll src=index_htm_files/text.htm  width=100% height=100% scrolling=auto frameborder=1 marginheight=2 marginwidth=2></iframe>
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

  7. #37
    Join Date
    Feb 2010
    Posts
    3

    Default Re: Iframes and SEO

    OK thanks..... I've used placeholders. Where do I get the iframe code?

  8. #38
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default Re: Iframes and SEO

    You would need to write it yourself. It isn't difficult and mostly you would change the src= to point to a file of your choice.

    An iframe is simply and in line frame and displays the contents of a file.
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

 

 

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
  •