Results 1 to 4 of 4

Thread: Htranscluder

  1. #1
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,881
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default Htranscluder

    1) CODE TITLE: Htranscluder

    2) NAME: Arie Molendijk

    3) DESCRIPTION: https://svn.openplans.org/svn/standa...ple/index.html offers a handy javascript-tool for inserting (parts of) external content into a document. Here are some remarks on using the script.

    4) URL TO CODE: http://molendijk.110mb.com/include_v...uder/main.html

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    This is confusing to me.
    So say I do this:
    Code:
    <a href="http://goog.com" rel="include">
    That would show google.com?
    Almost like PHPs: file_get_contents
    ?
    Jeremy | jfein.net

  3. #3
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,881
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default

    Nile, good question.
    I forgot to mention that this only works for external pages that belong to non-foreign domains.
    If you do what you suggest, then there will automatically appear a 'replacement-string' linking to Google, though.
    What you suggest can only be accomplished (on the client) by http://codinginparadise.org/weblog/2...5_archive.html
    ---
    Arie.

  4. #4
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,881
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default

    PS.:
    Disable Javascript and see what happens on the page: the included text(s) will be automatically replaced with links to the external files.
    ---
    Arie.

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
  •