Menu
News
All News
Dungeons & Dragons
Level Up: Advanced 5th Edition
Pathfinder
Starfinder
Warhammer
2d20 System
Year Zero Engine
Industry News
Reviews
Dragon Reflections
White Dwarf Reflections
Columns
Weekly Digests
Weekly News Digest
Freebies, Sales & Bundles
RPG Print News
RPG Crowdfunding News
Game Content
ENterplanetary DimENsions
Mythological Figures
Opinion
Worlds of Design
Peregrine's Nest
RPG Evolution
Other Columns
From the Freelancing Frontline
Monster ENcyclopedia
WotC/TSR Alumni Look Back
4 Hours w/RSD (Ryan Dancey)
The Road to 3E (Jonathan Tweet)
Greenwood's Realms (Ed Greenwood)
Drawmij's TSR (Jim Ward)
Community
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Resources
Wiki
Pages
Latest activity
Media
New media
New comments
Search media
Downloads
Latest reviews
Search resources
EN Publishing
Store
EN5ider
Adventures in ZEITGEIST
Awfully Cheerful Engine
What's OLD is NEW
Judge Dredd & The Worlds Of 2000AD
War of the Burning Sky
Level Up: Advanced 5E
Events & Releases
Upcoming Events
Private Events
Featured Events
Socials!
EN Publishing
Twitter
BlueSky
Facebook
Instagram
EN World
BlueSky
YouTube
Facebook
Twitter
Twitch
Podcast
Features
Top 5 RPGs Compiled Charts 2004-Present
Adventure Game Industry Market Research Summary (RPGs) V1.0
Ryan Dancey: Acquiring TSR
Q&A With Gary Gygax
D&D Rules FAQs
TSR, WotC, & Paizo: A Comparative History
D&D Pronunciation Guide
Million Dollar TTRPG Kickstarters
Tabletop RPG Podcast Hall of Fame
Eric Noah's Unofficial D&D 3rd Edition News
D&D in the Mainstream
D&D & RPG History
About Morrus
Log in
Register
What's new
Search
Search
Search titles only
By:
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Menu
Log in
Register
Install the app
Install
Community
General Tabletop Discussion
*TTRPGs General
HTML - Help
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Psionicist" data-source="post: 75422" data-attributes="member: 1874"><p>Sure!</p><p></p><p>It's called SSI (Server Side Includes) and I LOVE it. YOu have to save the files as something.SHTML and have a host that supports SSI.</p><p></p><p>Let's say you have two files, file1.shtml and file2.shtml.</p><p></p><p>file1.shtml may look like this:</p><p></p><p>[code]</p><p><html></p><p><head></p><p></head></p><p><body></p><p><!--#include file="file2.shtml"--></p><p></body></p><p></html></p><p>[/code]</p><p></p><p>and file2.shtml may look like this:</p><p></p><p>[code]</p><p>text<br></p><p>text<br></p><p>lots of texts</p><p>[/code]</p><p></p><p>The user will see the code like this:</p><p></p><p>[code]</p><p><html></p><p><head></p><p></head></p><p><body></p><p>text<br></p><p>text<br></p><p>lots of texts</body></p><p></html></p><p>[/code]</p><p></p><p>Remember these rules:</p><p></p><p>DO NOT USE SPACE between the comment lines. A correct SSI statement looks like this:</p><p><!--#include file="file2.shtml"--></p><p>not like this</p><p><!-- #include file="file2.shtml" --></p><p></p><p>There are some different SSI command. You should use INCLUDE FILE and possible INCLUDE VIRTUAL.</p><p></p><p>INCLUDE FILE will include a file in the same folder as the document including the file.</p><p>INCLUDE VIRTUAL will include a file anywhere on the net. You have to write correct pathlines, as "http://server.net/text.txt" (you can include any textfile. The included files does not have to have the SHTML extension)</p><p></p><p>Something like that.</p><p></p><p>Experiment with it. You can only use it locally if you have an own server client installed as PWS (personal webserver). If you doesn't have one you have to upload it to your host.</p><p></p><p>REMEMBER THAT THIS WON'T WORK IF YOUR SERVER IS NOT CAPABLE OF SSI.</p><p></p><p>Post more questions here..</p></blockquote><p></p>
[QUOTE="Psionicist, post: 75422, member: 1874"] Sure! It's called SSI (Server Side Includes) and I LOVE it. YOu have to save the files as something.SHTML and have a host that supports SSI. Let's say you have two files, file1.shtml and file2.shtml. file1.shtml may look like this: [code] <html> <head> </head> <body> <!--#include file="file2.shtml"--> </body> </html> [/code] and file2.shtml may look like this: [code] text<br> text<br> lots of texts [/code] The user will see the code like this: [code] <html> <head> </head> <body> text<br> text<br> lots of texts</body> </html> [/code] Remember these rules: DO NOT USE SPACE between the comment lines. A correct SSI statement looks like this: <!--#include file="file2.shtml"--> not like this <!-- #include file="file2.shtml" --> There are some different SSI command. You should use INCLUDE FILE and possible INCLUDE VIRTUAL. INCLUDE FILE will include a file in the same folder as the document including the file. INCLUDE VIRTUAL will include a file anywhere on the net. You have to write correct pathlines, as "http://server.net/text.txt" (you can include any textfile. The included files does not have to have the SHTML extension) Something like that. Experiment with it. You can only use it locally if you have an own server client installed as PWS (personal webserver). If you doesn't have one you have to upload it to your host. REMEMBER THAT THIS WON'T WORK IF YOUR SERVER IS NOT CAPABLE OF SSI. Post more questions here.. [/QUOTE]
Insert quotes…
Verification
Post reply
Community
General Tabletop Discussion
*TTRPGs General
HTML - Help
Top