Results 1 to 4 of 4
  1. #1
    Internet Cowboy
    Join Date
    January 18th, 2005
    WM Include question
    Can I use an include tag in WM, except instead of telling it to look for c:\.... on my local computer, can I make it look for a file in the root of my web folder? ie: [WM-Include: http://mydomain/include.htm]

    I am using a site with many directories and I have an news feed from my host that I want to use on each page, but the feed only works in the root directory of my site. My thinking is that if I use a WM include to point to the URL of the include in my web directory, that will work.

    Can this be done?
    Thanks in advance.

  2. #2
    ABW Ambassador Nature Boy's Avatar
    Join Date
    January 18th, 2005
    Can't you use SSI or PHP to do this on all of your pages?

    SSI (.shtml files)
    <!--#include virtual="/include.htm" -->

    PHP (.php files)
    <? virtual ("/include.htm"); ?>
    If you can't dazzle them with brilliance, then baffle them with bulls#!t
    Don't tell me that you'll do it... SHOW ME.
    Just because everyone else is drinking it is no reason for me to drink the KOOL-AID.

  3. #3
    Full Member heisje's Avatar
    Join Date
    January 17th, 2005

    within <head> </head> use
    <base href="" />
    <base href="[wm-include: ../resources/site-home-url.html]" />

    and then configure wm-include accordingly.

    hope this helps,


  4. #4
    Internet Cowboy
    Join Date
    January 18th, 2005
    Thanks for the help! Much appreciated!

  5. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. PHP question - include(file.php) with variables
    By teezone in forum Programming / Datafeeds / Tools
    Replies: 8
    Last Post: September 4th, 2009, 03:54 PM
  2. WM - Include or WM - FIELDINCLUDE
    By Rodski in forum WebMerge (
    Replies: 2
    Last Post: October 11th, 2006, 11:21 AM
  3. Using the WM-Include tag
    By Tiebreaker in forum WebMerge (
    Replies: 6
    Last Post: December 1st, 2003, 10:24 AM
  4. How to include by date?
    By Wayder in forum Programming / Datafeeds / Tools
    Replies: 15
    Last Post: October 31st, 2002, 01:49 PM
  5. To include or not to include that is the question
    By Heyder in forum Search Engine Optimization
    Replies: 8
    Last Post: October 1st, 2002, 04:05 PM

Posting Permissions

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