Add to Technorati Favorites


Include Me In That HTML ~ Plugin

Version 1.0 of the plugin is now available.

This is a embedded file plugin that will include any file into the body of any Wordpress Post or Page.

Look at me!

This is an example of content pulled in from an external file using the Include Me In That HTML ~ Plugin

You can download it and get more details from here.

I’m always looking for suggestions on how I can improve things, any feedback on testing or suggestions for amendments to Include Me In That HTML will be gratefully received.

Please post any comments below…..

Posted in Wordpress |

12 Responses to “Include Me In That HTML ~ Plugin”

  1. David Says:

    What directory does the included HTML file have to be placed within to work correctly?

  2. bochgoch Says:

    Thanks for the reminder David, forgot that bit from the documentation:

    Files should be placed in a directory called IMIT_Files that is in the directory that Wordpress is installed into. You will need to create that directory and place the files in it yourself.

  3. Melanie Says:

    I think the directory is supposed to be IMIT_files (lower case f on files) rather than IMIT_Files (upper case F on Files). It only worked after I changed the directory to IMIT_files.

  4. bochgoch Says:

    Thanks Melanie, I develop on Windows which lets me get away with case sensitivity sloppyness. On (l)unix the directory must be IMIT_files.

    On a related subject, the directory is easily changed, just edit include_me_in_that_html.php and find the line:

    $IMIT_directory = 'IMIT_files/';

    …and amend as you see fit.

  5. Dario Says:

    It’s an awsome plugin!
    I’ve “rated” it on my personal blog:
    http://www.dozarte.com/wordpress/2007/08/27/inserire-qualsiasi-cosa-in-un-post-wordpress/
    …but it’s a pity we cannot embed PHP o ASP lines of code!
    Ciao!

  6. Dario Says:

    But…
    I’m now testing online and I get errors:
    “…No such file or directory…” but the file is there!!
    Why?!?
    I found it: it’s case-sensitive!!! It depends on the server OS.
    I changed folder’s name from “IMIT_Files” to “IMIT_files” (but you should check it)
    Ciao!

  7. Krold Says:

    Your plug is great. It almost do everything I want.
    Is there a way to automatically add the same text file to certain category. For exemple, when I create a post of category XX, automatically add in the end of the post, if a post from category YY, automatically add and so on …

  8. bochgoch Says:

    Krold, nice suggestion, I’ll certainly consider that for a future version.

  9. Alexa Says:

    Hi - I’m having trouble - where exactly do I create the IMIT_files directory? I use bluehost and don’t have a directory that is simply wordpress - I have /public_html - and in that folder is wp_content where the plugins directory lives. Also have a /www directory. I’ve tried the IMIN_files directory in each of those, in the plugins folder - where exactly should it be?

    I’m getting this error:
    Warning: fopen(/IMIT_files/freemealformoms.html) [function.fopen]: failed to open stream: No such file or directory in /home/thedishb/public_html/wp-content/plugins/include-me-in-that-html/include_me_in_that_html.php on line 42

    Warning: filesize() [function.filesize]: stat failed for /IMIT_files/freemealformoms.html in /home/thedishb/public_html/wp-content/plugins/include-me-in-that-html/include_me_in_that_html.php on line 43

    Warning: fread(): supplied argument is not a valid stream resource in /home/thedishb/public_html/wp-content/plugins/include-me-in-that-html/include_me_in_that_html.php on line 43

    Warning: fclose(): supplied argument is not a valid stream resource in /home/thedishb/public_html/wp-content/plugins/include-me-in-that-html/include_me_in_that_html.php on line 44

  10. bochgoch Says:

    Alexa, sounds like you don’t have access to the directory you need. I’m going to tidy this up on the forthcoming version of the plugin.

  11. Plugin Change Lists ~ May 2008 | Bochgoch Blog Says:

    […] Enhancement: Make IMIT_files directory allocation easier. Enhancement: ‘Automatically add the same text file to certain category. For example, when I create a post of category XX, automatically add in the end of the post, if a post from category YY, automatically add and so on …‘ ~ Thanks Krold […]

  12. Plugin Change Lists ~ May 2008 | Bochgoch Blog Says:

    […] Enhancement: Make IMIT_files directory allocation easier. Enhancement: ‘Automatically add the same text file to certain category. For example, when I create a post of category XX, automatically add in the end of the post, if a post from category YY, automatically add and so on …‘ ~ Thanks Krold […]

Have your say