协作选择你自己的冒险系统...我该如何构建它?
我脑子里一直有这个想法,我决定去做,并在这个过程中学到一些东西。
好的,如果您不介意的话,我将向您推销我的网站项目。
它基于协作,所以我认为 MediaWiki 将是最好的起点,但我不知道从哪里开始。我还检查了 SemanticMediaWiki 和 SemanticForms,但它似乎没有达到我想要的效果。
我的项目是一个围绕多项选择冒险的网站。已经有网站这样做了,例如 http://editthis.info/choose_your_own_adventure/Main_Page 但我的目标是使其完全用户友好。
在该网站上,用户必须有效地使用 wiki 标记并手动设置链接。这是实用且有效的,但我希望它完全用户友好。
我希望链接和内容提交成为一个流畅的过程,而不必担心 wiki 标记。
这就是我想要的:
用户创建一个顶级页面。一个新的故事。 (可能是一个类别?)他将其命名为“骑士和公主”。
他被要求填写故事文本。他写道:“你是一位英俊的骑士,拿着一把全新的剑。一条龙正在向你猛扑过来。”
他保存了页面。
该页面现在包含标题、故事文本和“添加新故事分支”的链接/按钮。
第二个用户出现了。他阅读此页面,然后单击“添加新故事分支”。
系统提示他填写一份表格。绝对没有技术标记或手动编辑。
他填写了他选择的标题“逃跑”。
他填写了他的故事文本“当你逃跑时,龙追着你,但你集中精力尽可能快地跑。你注意到一只兔子在你旁边跳来跳去。”
他保存了该页面。
发生了两件事。
1:自动更新上一页。在“添加新故事分支”链接上方出现一个新链接,标题为“逃跑”。这个新按钮链接到新页面。
2:新页面发布时包含标题、故事文本以及“添加新故事分支”的链接/按钮。
任何人都可以加入,单击该按钮,编写一个新页面,链接将被无缝添加。无需编辑页面和添加 wiki 标记或 URL。
此外,我希望能够根据成人内容对故事进行分类,并有一种方法来监管和过滤它。
我希望新故事的原作者能够定义权限,即“仅限授权用户”、“任何人都可以编辑”、“仅限注册用户”。
我希望只有原作者才有能力锁定某些页面不被编辑。
我希望作者能够将故事设为针对特定用户组的私密内容。
我希望使用户能够编辑故事文本,而不会看到令人讨厌的代码和标记。
我是在做梦吗,还是 MediaWiki 可以做到这一点?我只对 Joomla 和 MediaWiki 有经验。
我需要学习网络框架吗? (Rails、Django、Pylons 等)我从哪里开始?是否有适合我的项目的解决方案?
感谢您的建议!
I've had this idea bouncing around in my head, and I decided I'm going to do it and learn a little in the process.
Okay, if you don't mind, I'm going to pitch my website project to you.
It is based on collaboration, so I thought MediaWiki would be the best place to start, but I don't know where to go from here. I also checked out SemanticMediaWiki and SemanticForms, but it doesn't seem to do what I want.
My project is a site revolving around Multiple Choice Adventures. There are already sites that do this, like http://editthis.info/choose_your_own_adventure/Main_Page but I aim to have it entirely user friendly.
On that site, users must employ wiki markup effectively and set up the links manually. That's functional and effective, but I want it to be totally user friendly.
I want the links and content submission to be a fluid process with no worrying about wiki markup.
Here's what I want:
A user creates a top level page. A new story. (Possibly a category?) He titles it "Knights and Princesses".
He is asked to fill in the story text. He writes, "You are a handsome knight with a brand new sword. A dragon is swooping towards you."
He saves the page.
The page now contains the title, the story text, and a link/button saying "Add a new story branch".
A second user comes along. He reads this page, and clicks "Add a new story branch".
He is prompted to fill in a form. Absolutely no technical markup or manual editing.
He fills in his chosen title "Run Away".
He fills in his story text "The dragon chases you as you flee, but you concentrate on running as fast as you can. You notice a rabbit hopping along side you."
He saves the page.
Two things happen.
1: The previous page is automatically updated. Above the link "Add a new story branch" a new link appears, titled "Run Away". This new button links to the new page.
2: The new page is published with the title, the story text, and also a link/button saying "Add a new story branch".
Anyone can come along, click that button, write a new page, and the links will be added seamlessly. No need for messing with editing the page and adding wiki markup or URLs.
In addition, I hope to have the ability to categorize stories by adult content,and have a method to police and filter that.
I hope to have the ability for the original authors of a new story to define what the permissions will be, i.e. "Authorized users only", "anyone can edit", "only registered users".
I hope to have the ability for only original authors to lock certain pages from being edited.
I hope to have the ability for authors to make stories private for a select group of users.
I hope to enable users to edit story text without seeing nasty code and markup.
Am I dreaming here, or is this possible with MediaWiki? I am only experienced in Joomla and MediaWiki.
Do I need to learn a web framework? (Rails, Django, Pylons, etc) Where do I start? Are there solutions that are already geared toward my project?
Thanks for the advice!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这听起来确实可行。您是否知道 Mahalo.com 的原始版本之一是基于 mediawiki 构建的? Mediawiki 是非常灵活的软件,只要有一点技术知识和时间,您将毫无问题地完成此任务。
事实上,我敢打赌,如果您将其作为开源项目,其他人会帮助您。
This definitely sounds doable. Did you know that one of the original iterations of Mahalo.com was built on mediawiki? Mediawiki is very flexible software, and with a little bit of technical know-how and time you will have no problem accomplishing this.
In fact, I bet if you made it an open source project others would help you.
如果您想要严格的访问控制(访问控制列表、页面创建者的额外权限等),那么 MediaWiki 并不是一个很好的选择。
如果您想要易于使用且不妨碍协作的所见即所得编辑,那么它又不是一个很好的匹配(尽管它是 即将到来,我不确定目前是否有合适的匹配)。
对于自动创建链接,我认为 Semantic MediaWiki 是正确的工具。您需要定义先行-后继关系,使用语义形式或类似的方式创建引用当前页面作为前驱的新页面,并在每个页面的底部列出后续页面的名称。
If you want heavy access control (access control lists, extra privileges for the creator of the pages etc.) then MediaWiki is not a good match.
If you want easy-to-use WYSIWYG editing which does not hinder collaboration, then it is again not a good match (though it is coming along, and I am not sure there is a good match currently).
For the automatic creation of links, I think Semantic MediaWiki is the right tool. You need to define a precedes-follows relationship, use semantic forms or something similar to create new pages which reference the current page as predecessor, and list the names of following pages on the bottom of each page.