当前位置: 首页 > 网络学院 > 设计教程 > 设计理念 > 更新站点DIY

设计理念
Web 可访问性
Web 国际化
让你的Blog重获青春
精彩网页设计九“慎”
CSS如何为同一个元素处理多种规则
30步,网站信任度提升200%
平台越简单,成功的指数越高
困扰个人网站做大做强的思考
25种马上提高浏量的方法
CSS比表格更难吗?
web标准的商业价值
关注web标准的真正原因
web标准,我们去向何方?
通向web标准之路
初学web标准的几个误区
学习CSS的10大理由
伴随着Web标准发展
同一个页面用多个id有什么影响
如何提高页面响应速度
十大网站设计错误

设计理念 中的 更新站点DIY


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-01   浏览: 1717 ::
收藏到网摘: n/a

You need your website information to always be up to date. Is this expensive, or can you do it yourself?

你的站点信息需要经常性的更新吗?这样做的成本是不是很高?你可以自己更新这些信息吗?

When your website is finished, can you change information on the pages yourself, or do you need to pay someone to do that? You need to think about this before the website is started.

当你的网站完工后,你是自己更新页面信息,还是花钱请人来帮你更新信息?在网站完工之前,你应该先考虑一下这个问题。

(A) You can edit the HTML files:
A)你可以编辑一下HTML文件:

A web designer can build a website which is easy to maintain from the beginning by using a system like active server pages (ASP) or PHP.

一个网站设计师可以从一开始就使用像ASPPHP这样的系统来轻松地维护页面信息。

In ASP and PHP, if the header, style sheets, navigation bars, and footer for all pages are in separate files, then each page contains only that page's information plus links to the header etc.

ASPPHP页面中,如果每张页面的页眉、样式表、导航条和页脚都是位于独立的文件中的,那么每张页面只是包含了页面本身的信息,至于像页面、样式表这样的文件都是从外部导入到该页面中的。

Each page is then easy to edit without fear of changing the style, or accidentally messing with the header. Changes can be made to e.g. the phone number once in the header instead of on all pages separately.

每张页面编辑器来非常容易,你不用担心会整个样式会改变,或者担心页眉会乱掉。举个例子来说,你只要更改页眉上的电话号码,就可以将所有页面的电话号码都进行更改,这非常方便。

Such pages can also contain code that displays other information like dates, so that your News page heading can always show the current month and year even if you haven't had time to update it for six weeks.

这样的页面对于维护像日期这样的信息也非常方便。只要写上一条语句,即使你半年不去更新页面上的日期,所有的页面也会显示正确的日期信息。

If you are the owner of the website, you will have FTP access (File Transfer Protocol) to your website. There are many shareware FTP programs you can use: WS_FTP, CuteFTP, etc. to copy the web pages from the server to your hard disk. Always save a backup copy of these files before you edit them.

如果你是网站的所有者,你将会拥有站点的FTPFile Transfer Protocol:文件传输协议)访问协议。有多个FTP软件供你挑选:WS_FTPCuteFTP等。可以将页面文件从服务器上复制到硬盘上。通常情况下,你可以在编辑这些页面之前备份一个复制版本。

When you do this, note the folder on the server that the files are in, so that when you copy them back, they end up in the right place. The main folder for your website may be called something like public_html or www, while the file you want to edit may be in a sub-folder of that.

当你在进行这类操作时,注意一下文件所在的文件夹;当你再次将它们复制回去时,确保它们位于正确的位置上。站点的主文件夹通常被称为“public_html www”。你需要编辑的文件可能位于二级目录上。

You can edit many things on your webs pages without knowing any HTML (Hypertext Markup Language). Just use a plain text editor like Notepad, and don't touch the HTML codes. These are inside angle brackets (less than and greater than signs).

不需要掌握任何HTMLHypertext Markup Language:超文本标记语言)的知识就可以进行页面编辑。你只需要使用记事本这样简单的文本编辑器进行内容编辑,不需要去接触HTML代码(这个HTML代码是位于标签内的[<”和“>”之间])。

If you would like to start using HTML codes for paragraphs and line breaks, bold and italic, bullets or numbered lists, then look first at the coding used by your web designer. Visit www.w3.org, or get a book on HTML.

如果你希望开始使用HTML代码来编辑段落、换行符、粗体字、斜体字、无序列表和有序列表,先看一下网页设计师们是怎么样使用这些代码的。访问一下http://www.w3.org网站,获取HTML的代码说明。

You can find shareware and low cost HTML editors on the web. These will put the HTML codes into the web page for you. Or, you could buy a high-end web design program like Dreamweaver.

你可以在网上找到HTML的共享编辑软件或低价编辑软件。它们都可以帮助你编辑HTML页面。或者,你可以使用高端编辑软件,如:Dreamweaver

Do small changes at a time and don't close your editor until the web page looks just right, just in case you need to Ctrl-Z (UnDo) some changes.

每次都修改一点。在你的网页正常显示之前,不要过早的关闭编辑器。可以使用Ctrl+Z组合键取消不需要的改变。

When you finish and save your changes, open the file on your hard disk with a browser. In an HTML editor there will be a function key for this. If you are using Notepad then go to your browser, File: Open: Browse: to open the file. Or use My Computer to find the file you have just edited and click on it. If the web page gets its style from another file, then the appearance may be rough but you can at least check that the words are what you intended.

当你编辑完毕并保存更改后的文件后,再使用浏览器打开硬盘上的文件检测一下。如果你使用的是HTML编辑器,你可以直接使用上面的浏览功能键进行浏览;如果你使用的是记事本,那么需要先打开浏览器,然后依次选择“文件”、“打开”来浏览对应的文件;或者可以打开“我的电脑”,然后再打开对应的文件。如果你所打开的文件套用的是另外一个文件样式表,那么内容显示上可能会出现混乱,但是至少你可以对文本内容进行编辑。

Then upload the file to the correct folder on your website and check it again with your browser.

将文件上传到正确的文件夹之后,再用浏览器测试一遍。

(B) Content Management Systems (CMS):
(B)
内容管理系统(CMS)

CMS is usually purchased by medium sized organizations. (Small businesses use (A) above, or (D) below, and large organizations use their own IT Department.)

中型公司通常愿意购买CMS(小型商务公司通常使用的是:上面说到的A和下面将要说到的D,而大型商务公司通常使用为自己量身定做的内容管理系统)。

There are various levels of CMS used for editing web pages on-line without downloading and uploading the HTML files, and without needing to see any HTML codes. These come at various costs.

这里包含了不同款式的CMS,它不需要上传或下载HTML文件,也不需要查看任何HTML代码,就可以对页面进行在线编辑。当然,根据款式的不同,价格也有所不同。

With all CMS systems, you can type into an on-line screen or you can copy from a plain text file and paste into the CMS screen. With some, you can copy from a word document and past into a CMS program that can clean off the unwanted Word processor formatting codes.

对于CMS系统来说,你可以打开一个在线编辑窗口,将一段文本内容复制到CMS窗口中;同样地,你也可以将一个word文档中的内容复制到CMS程序中,或者清除不需要的格式代码。

(C) Database systems
C)数据库系统 Websites that run from databases come with administration screens to edit the contents of the database. These may be for product catalogues, ecommerce, news pages and notices.

如果网站中包含数据库的运行,那么一定包含一个数据库内容的管理窗口。数据库内包括了产品目录、电子商务、新闻页面和布告栏。

These administration screens put the information in the right places on the right web pages, in pre-set styles.

这些管理窗口按照预先设定的样式将信息放置在恰当的页面位置。

CMS formatting can be also added to database systems, so that you can enter paragraph breaks etc.

CMS
的格式同样可以被添加到数据库系统中,因此,你可以在其中键入换行符等。

(D) Pay a web designer for updates:
D)花钱雇一个网站设计是为你更新网站:

Most web designers charge so little for updating a web page that they have designed, especially if they use ASP or PHP, that possibly you don't need any of the above options. However, if you ask them to update a web page that someone else has designed, it may cost more.

大多数网站设计师一般都不需要过多地更新网页信息,特别是当他们使用的是ASPPHP时,你就不需要再花钱请人了;如果你需要花钱请人更新信息,那么开支就会大一点。

Conclusion:
结论:

It's best to decide which method of updating your website will suit you before you get your website designed. Whatever you decide, for you website to stay competitive it needs to look up to date.

在你设计网站之前,最好先确定,使用什么方法来更新你的网站最好。不管你选择什么方法,为了是你的网站永远保持一个竞争地位,你必须经常对信息进行更新。

评论 (1) 1 All

登陆 | 还没注册?