简体   繁体   English

Docpad服务器端脚本

[英]Docpad Server Side Scripts

I am new to docpad, and so far it is a pretty nice way to get a bunch of docs served up. 我是docpad的新手,到目前为止,这是一种很好的方式来分发一堆文档。 I am wondering where to put server side scripts? 我想知道将服务器端脚本放在哪里? I tried just wrapping what I want done server side in eco tags and I get the warning that 我尝试将我要在服务器端完成的操作包装到eco标签中,并得到警告

Rendering the extension "eco" to "html" on "search.html.eco" didn't do anything.

That is an indication that you have no eco code inside the file, although your post suggests that you had put code in the doc. 这表明您的文件内没有环保代码,尽管您的帖子显示您已在文档中放入了代码。 It doesn't do any harm, except wasting the computer's time! 除了浪费计算机时间之外,它没有任何危害! ;-) ;-)

It will go away as soon as a <% .... %> is found in the doc 只要在文档中找到<% .... %>它就会消失

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 同时调用两个服务器端脚本? - Two server side scripts called at the same time? 为什么服务器端和客户端脚本不能交互? - Why can't server side and client side scripts interact? 客户端脚本中的服务器端变量 - Server-side variables within client-side scripts 从本地文件访问mysql数据库和服务器端脚本 - Access mysql db and server side scripts from local file Azure移动服务-服务器端脚本-使用===比较为零 - Azure Mobile Services - Server Side Scripts - Comparison to zero using === 在没有服务器端脚本的情况下在javascript中绕过相同的源策略 - Getting around same origin policy in javascript without server side scripts 在服务器端实时生成客户端脚本可行吗? - It is feasible to generate client-side scripts on the server in realtime? 使用Azure移动服务上的服务器端脚本修改响应 - Modifying response using server side scripts on Azure Mobile Services 结合jQuery和Zen-Coding php端口,在服务器端脚本上模拟客户端编程风格 - Combine jQuery and Zen-Coding php ports to emulate client side programming style on server side scripts 如何创建无服务器或服务器端脚本的动态访问数据库的Intranet网站? - How to create intranet website accessing database dynamically without server or server side scripts?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM