wpe3.0汉化版
This article discusses a previous version of the site, when it was known as demosthenes.info. As such, what it discusses may no longer be relevant, or is outdated; the piece has been left online for archival purposes.
本文讨论了该网站的先前版本,即demosthenes.info 。 因此,它所讨论的内容可能不再相关或已过时; 该作品已在线存档。
Welcome to version 3.0 of demosthenes.info. 90% of the code for this site has been rewritten, while the design itself has been substantially altered. I’ll have a lot more to say about the design and features of the blog in future articles, and there’s still more to come… but for right now let’s get straight to the changelog.
欢迎使用demosthenes.info的3.0版。 该站点90%的代码已被重写,而设计本身已进行了重大更改。 在以后的文章中,我将对博客的设计和功能进行更多的讨论,还有更多内容要发表……但是现在,让我们直接进入变更日志。
- As mentioned, the code of the site is now completely written in HTML5. While I am certain that most pages are valid, I haven’t yet exhaustively gone through every one of the ~500 entries, so my $10 bounty to anyone who finds a validation error can’t be offered… yet. 如前所述,该站点的代码现在完全用HTML5编写。 虽然我可以确定大多数页面都是有效的,但我尚未详尽地浏览〜500个条目中的每一个,因此仍无法向发现验证错误的任何人提供$ 10的赏金…。
- Many user actions, including logging in and adding favorites, are now written via AJAX, making for a smoother experience. 现在,许多用户操作(包括登录和添加收藏夹)都是通过AJAX编写的,从而提供了更加流畅的体验。
- The organization of content and sidebar navigation has changed significantly. XHTML and HTML5 have been grouped together as “HTML” in the menu. Posts that are specific to a particular language (the optional XML prolog in XHTML, for example) are also in this category, but tagged with “XHTML” 内容的组织和侧边栏导航已发生重大变化。 XHTML和HTML5在菜单中被分组为“ HTML”。 特定语言的帖子(例如XHTML中的可选XML序言)也属于此类别,但标记为“ XHTML”
- Posts specific to full-time courses at SAIT have been removed – most students now have this information on the D2L system. Posts on student expectations, suggested reading lists, practice quizzes unofficial grade tools and continuing education courses remain, mostly in the “For Students” section. 专门针对SAIT的全日制课程的职位已被删除-大多数学生现在在D2L系统上拥有此信息。 有关学生期望,建议的阅读清单,练习测验,非官方成绩工具和继续教育课程的信息仍然保留,大部分位于“针对学生”部分。
- The “Tools” section now contains both the entries on preference settings for applications and online tools. 现在,“工具”部分包含有关应用程序和在线工具的首选项设置的条目。
- An archive page allows you to browse blog articles by calendar month. 存档页面使您可以按日历月浏览博客文章。
- Search is more graphical. 搜索更加图形化。
- Tag pagination works, finally! 标签分页终于成功了!
- User profiles! Every user has a simple profile. If you’re logged in, you also have the opportunity to edit your favorites on your profile page, and this will be expanded on markedly in the near future. 用户个人资料! 每个用户都有一个简单的配置文件。 如果您已登录,则还可以在个人资料页面上编辑收藏夹,并且此功能将在不久的将来得到扩展。
- The commenting system has both a preview function and allows for simple markup to be entered, although the latter still needs to be improved for code samples. 注释系统既具有预览功能,又允许输入简单的标记,尽管后者仍需要对代码样本进行改进。
- Share options for Facebook, Twitter and Google+ for each blog article are now inside a “Share” area at the bottom of the screen. 每个博客文章的Facebook,Twitter和Google+共享选项现在位于屏幕底部的“共享”区域内。
- There are now seven entries shown per page, rather than the previous nine, helping to speed up page load times considerably. Mobile users see five per page. 现在每页显示七个条目,而不是之前的九个条目,从而大大加快了页面加载时间。 移动用户每页看到五个。
A few features still that need work:
仍然需要工作的一些功能:
- While “Add to favorites” does work instantly, the added article is not shown in the user’s “Personal Favorites” list on the sidebar until after a page refresh. That will be fixed: I’ll also add an option to organize a user’s favorites by category if there are more than a dozen listed, and show the user that they’ve favorited a post by changing the icon on the article itself. 尽管“添加到收藏夹”确实可以立即工作,但是直到刷新页面后,添加的文章才会显示在侧边栏的用户“个人收藏夹”列表中。 这将是固定的:如果列出的列表超过一打,我还将添加一个选项来按类别组织用户的收藏夹,并通过更改文章本身上的图标向用户显示他们已收藏了帖子。
- I’m afraid there wasn’t time to optimize the design for mobile or print. While the design is partly responsive, and should be usable on iPhone, etc, the full version for mobile will have to wait a few weeks. (Which will also tie in nicely with my work on developing a Responsive Web Design For Mobile Devices course). 恐怕没有时间优化移动或印刷设计。 虽然该设计具有部分响应能力,并且应该可以在iPhone等上使用,但完整的移动版将需要等待几周。 (这也将与我开发移动设备响应式Web设计课程的工作很好地结合在一起)。
- I ran out of time to code in image uploads for avatars or achievements, but that will be the very next task. 我没有时间在图像上传中编写头像或成就的代码,但这将是下一个任务。
- I’m aware of some optimisations I can still do : Facebook, in particular, seems to be interfering with smooth page loads, and being missed on tag-based and individual post pages. I’ll play around with that and see what I can speed up further. 我知道我仍然可以进行一些优化:尤其是Facebook,似乎干扰了页面的平滑加载,并且在基于标签的页面和单个帖子中都被忽略了。 我将解决这个问题,看看我可以进一步加快速度。
- Search results are currently limited to the top 25 results; pagination will follow shortly. 搜索结果目前仅限于前25个结果; 分页将很快进行。
- Microdata integration is throwing up validation errors for some reason; I’ve removed it in the meantime. 由于某种原因,微数据集成引发了验证错误。 同时,我已将其删除。
- There are a around two dozen article thumbnails that I need to complete; as a result, you might see the occasional visual gap in search results and on the archive page. 我需要完成大约两打文章缩略图。 结果,您可能会在搜索结果和存档页面中偶尔看到视觉间隙。
- Signup is temporarily disabled while I work on that (and a password reset option) – expect that to return in a few days also. 在进行此操作(以及密码重置选项)时,暂时禁用了注册-希望几天后还会恢复。
wpe3.0汉化版