BBEdit can't do anything live on the server. It only allows you to edit the files which are served there. But, every web server should have a server-side include option either built-in or available through a more targeted module than PHP.
Apache - http://httpd.apache.org/docs/2.2/mod/mod_include.html <http://httpd.apache.org/docs/2.2/mod/mod_include.html> SSI - http://www.iis.net/configreference/system.webserver/serversideinclude <http://www.iis.net/configreference/system.webserver/serversideinclude> NGINX - http://nginx.org/en/docs/http/ngx_http_ssi_module.html <http://nginx.org/en/docs/http/ngx_http_ssi_module.html> [fletcher] > On Jun 25, 2015, at 12:05 PM, Vlad Ghitulescu <[email protected]> wrote: > > Hello! > > > I was wondering how to make something like dynamic HTML includes in a static > HTML-site (just like the sadly now defunct <http://riothq.com/> app Hammer > <http://hammerformac.com/> did > > <PastedGraphic-1.png> > > ) with BBEdit… > > That means, I would like to write something like: > > (…) > > <!— @include footer.html —> > > (…) > > in the HTML-files that shares the same footer and with a press of a magic > button ;-) (aka script / regex / KeyboardMaestro-macro / etc.) to build the > intial HTML-files so that the content of footer.html will be pasted where > this @include-comment were before. > > This all could be probably done with BBEdit-templates / TextExpander-snippets > etc, but I would like a little more dynamic behavior: after changing > footer.html, when pressing the same magic button, the previous pasted content > of footer.html would be updated in all html-files containing the > @include-comment. > > Any ideas? > > Thanks! > > > Regards, > Vlad > > > > -- > This is the BBEdit Talk public discussion group. If you have a > feature request or would like to report a problem, please email > "[email protected]" rather than posting to the group. > Follow @bbedit on Twitter: <http://www.twitter.com/bbedit > <http://www.twitter.com/bbedit>> > > --- > You received this message because you are subscribed to the Google Groups > "BBEdit Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. -- This is the BBEdit Talk public discussion group. If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group. Follow @bbedit on Twitter: <http://www.twitter.com/bbedit> --- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
