我在 codeigniter 框架之上构建了一个自定义网站。我现在想在我的网站上实现一个“博客”部分,并允许与我一起工作的各种非技术人员编辑/创建博客条目并发布它们。我不想从头开始为此创建一个后端。
codeigniter 是否有任何好的插件可以与现有博客托管服务配合使用,以便下载 xml-rss 提要并将其构建到博客页面中?不确定向与我一起工作的非技术人员提供这种功能的最佳方法是什么。有什么建议吗?
I've built a custom website on top of the codeigniter framework. I now want to implement a 'blog' section of my website and allow various non-technical people I work with to edit/create blog entries and post them. I don't want to create a backend for this from scratch.
Are there any good plugins for codeigniter that work with existing blog hosting services to perhaps download an xml-rss feed and construct this into a blog page? Not sure what the best approach is to offer this kind of functionality to nontechnical people I work with. Any suggestions?
发布评论
评论(2)
如果这只是您不想再次编写的管理界面,我会:
这将使您能够更好地将博客的前端界面集成到现有站点,同时保留博客的后端。
如果您(由于某种原因)不想创建另一个连接,您可以使用 RSS 源作为 XML 格式的 API,或者在博客之上创建一个 API 层。此选项肯定会比直接连接慢,但您可能更喜欢这样做。
If it's simply the admin interface you don't want to write again, I would:
This will allow you to better integrate the frontend interface of the blog into your existing site while keeping the blog's backend.
If you don't (for some reason) want to create another connection, you could use the RSS feeds as an XML formatted API, or create an API layer on top of the blog. This option will definitely be slower than a direct connection, but you may prefer to do it this way.
几乎所有博客都提供 RSS。您可以使用它并使用 RSS 解析器库缓存它。
我现在正在使用此方法与 Tumblr 运行一个演示
Almost all blogs provide RSS. You could just consume that and cache it using an RSS Parser library.
I have a demo running right now using this method with Tumblr