通过 FTP 输出到远程服务器的平面静态页面 (.html) 的 Web CMS?

发布于 2024-08-30 02:21:17 字数 780 浏览 5 评论 0原文

我有一个网络应用程序项目,很快就会开始工作。其中包含的功能之一是内容管理系统,用户可以在其中添加内容,然后该内容将与模板组合,然后输出为常规 .html 文件。然后,该 .html 文件将通过 FTP 传输到他们自己的 Web 主机。

因为我一直相信不要重新发明轮子,所以我想我会看看是否有任何高质量的可定制 CMS 已经做到了这一点。例如,Blogger.com 允许您将所有内容发布到您的帐户;但提供了让您使用自己的托管的选项。每当您发布新文章时,都会生成一个新的 .html 页面(以及包含新文章链接的更新索引页面),然后更新的内容将通过 FTP 传输到您自己的服务器。

我想要的是这样的东西,我可以修改它以更适合我的需要。

所需功能:

  • 能够在我自己的服务器上托管
  • 用 PHP 编写
  • 用户通过他们的帐户添加内容,然后在发布时将其作为 .html 通过 FTP 传输到他们的服务器
  • 任何适当的页面也会更新以链接到新内容(例如索引页面或等等)
  • 可模板化
  • 可定制

可选(但非常非常需要)功能:

  • 用 CodeIgniter 或类似的 PHP 框架编写

虽然 CodeIgniter 不是严格要求的,但我非常喜欢它。它加快了开发时间并使事情更容易实施。

那么 - 有什么建议吗?我偶然发现了一些作为静态页面推送到远程服务器的 CMS,但我发现的所有 CMS 都托管在开发人员服务器上,这意味着我根本无法修改它。

I have a web app project that I will be starting to work on shortly. One of the features included is going to be a content management system where users can add content and then that content will be combined with a template and then output as a regular .html file. This .html file would then be FTPed to their own web host.

As I've always believed in not reinventing the wheel I figured I'd see if there are any quality customizable CMSes out there that do this already do this. For instance, Blogger.com allows you to post all of your content to your account there; but offers the option to let you use your own hosting. Any time you publish a new article then a new .html page is generated (as well as an updated index page with links to the new article) and then the updated content is FTPed to your own server.

What I would like is something like this that I can modify to more closely suit my needs.

Required Features:

  • Able to host on my own server
  • Written in PHP
  • Users add content through their account, then when posted it is FTPed as .html to their server
  • Any appropriate pages are also updated to link to the new content (like the index page or whatnot)
  • Templateable
  • Customizable

Optional (but very much desired) features:

  • Written in CodeIgniter or a similar PHP framework

While CodeIgniter isn't strictly required, I would very much prefer it. It speeds up development time and makes things much easier to implement.

So - any suggestions? I've stumbled across a few CMSes that push to remote servers as static pages, but the ones I've found all are hosted on the developers servers which means that I cannot modify it at all.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

追我者格杀勿论 2024-09-06 02:21:18

Adobe Contribute 可能适合您的情况。开发人员/设计人员使用 Dreamweaver 创建一组模板并发布这些模板。然后,授权用户可以根据模板创建页面,并且仅在可编辑区域内进行更改。它包括发布前的草稿和审查系统(通过许多选项,包括 ftp),并包含自动版本控制。它可以与静态 html 页面或动态页面(如 php)一起使用。

Adobe Contribute might work for your situation. A developer/designer creates a set of templates with Dreamweaver and publishes the templates. Authorized users can then create pages based on the templates and only make changes within the editable regions. It includes systems for drafts and reviews prior to publishing (via many options, including ftp) and incorporates automatic version control. It can work with static html pages or dynamic pages like php.

剧终人散尽 2024-09-06 02:21:18

听起来您需要一个单独的应用程序来为您执行此操作。

例如,您应该能够编写一些内容来查询 Drupal 的菜单路由器并将输出(使用curl)保存到目录中,然后运行 ​​rsync 将您的内容推送到您想要的位置。

否则,您的要求可能超出典型 CMS 的范围。分离此功能将为您提供更好的选择。

您还需要为您的 URL 编写一个过滤器。这需要一点工作...

希望有帮助!

Sounds like you need a separate application that can do this for you.

For example, you should be able to write something that queries Drupal's menu router and saves the output (with curl) to a directory and then run's rsync to push your content where you want it to go.

Otherwise your requirements are likely to be outside the scope of a typical CMS. Separating this functionality will give you better options.

You'd need to write a filter for your URLs too. It's a bit of work...

Hope that helps!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文