Difference between revisions of "WordPress"
(Added tag: 'Web Application Development')
Revision as of 12:12, 29 August 2011
- 1 Blogging at Middlebury
- 1.1 Introduction
- 1.2 New Blog Creation and Access
- 1.3 Access and Roles
- 1.4 Organization
- 1.5 Commenting
- 1.6 RSS and Subscribing
- 1.7 Podcasting
- 1.8 Embedding Video
- 1.9 Access to Blogs
- 1.10 Customization
- 1.11 WordPress at Middlebury
WordPress MU  is an open source platform that is used at Middlebury for individual blogs. Uses include journals creative writing tools, and news publishing. You can log into the Midd instance of WordPress with your Midd username and password.
To log into WordPress at Middlebury, locate the "login" link on whatever blog you want to contribute to. If the blog has no "log in" link then go to: http://blogs.middlebury.edu/wp-admin/. Type in your Midd username (first part of your email address before @middlebury.edu) and password (same password you use to log into Midd email).
(Click to play)
New Blog Creation and Access
You must have a Middlebury user account to create a WordPress blog. Here are the steps:
For more information see: WordPress @ Middlebury
For more information on using WordPress for course sites, see:
WordPress @ Middlebury > Using WordPress for Course Sites
Access and Roles
WordPress allows you to define who can access your blog/site (anyone, middlebury community, registered users, admins only( and what role individual users have (administrator, editor, author, contributor, subscriber)
Access to a given blog/site can be defined in Dashboard > Settings > Privacy. Here are the steps:
- Go to Dashboard
- Go to Settings > Privacy
- Specify which option best meets your needs
Access can also be restricted by adding password protection to posts or pages. Password protected posts/pages will only be accessible to blog/site administrators, editors, authors (of the post/page password-protected) or any site visitor who is given the password. Here's how to password protect a post/page:
- Add a new or edit an existing post or page
- In the Publish panel chose edit the "Visibility"
- Select Password protected and type in a password
- Click the "OK" button
- Click the "Publish" or "Update" button
WordPress allows you to add "users" to your blog/site and assign them roles (administrator, editor, author, contributor, subscriber). Here are the steps:
- Browse to your blog
- Click on the Log In link at the top. You will now be in your Dashboard
- Click on the Users link on the left hand side toward the bottom
- Click on Add New
- Where it says "Add An Individual User," type in the person's name or username. Wait for a couple of seconds
- A list of Names will appear. Choose the correct one.
- Use the dropdown menu to give appropriate access
- Administrator - Somebody who has access to all the administration features
- Editor - Somebody who can publish and manage posts and pages as well as manage other users' posts, etc.
- Author - Somebody who can publish and manage their own posts
- Contributor - Somebody who can write and manage their posts but not publish them
- Subscriber - Somebody who can only manage their profile
8. Click on the ADD USER button.
Adding Group Members as Users
Groups of users can be added to your WordPress site as well
- Go to your site Dashboard
- Go to Users > Add New
- Under "Bulk-Add Users By Group" Type in the name of the group you want to add (i.e. span0101a-f11) and wait for this group to appear in the drop down list
- Chose a role for these group members and click the the “Add User” button
Note: WordPress does NOT automatically update groups when the members changes. However you can “bulk-add users by group” multiple times and any new members in the group will be added.
If you are using WordPress for a course site, its a good idea to “bulk-add” frequently during the first couple of weeks of classes. For more information on using WordPress for course sites, see:
An author adds material to their blog by creating posts. Posts may be of any length, and can include text, audio and video. Once an post is created, it may be previewed, saved as unpublished, or save as published. Only published post will be seen by visitors. Posts can be edited after they are published. When posts are published they appear on the main page of your site in reverse chronological order (i.e. most recent posts first).
Authors can also add content to their site by creating pages. Like posts, pages may be of any length and can include text, audio and video. When pages are published a link to them will be created either in the top navigation bar of the site or in the "Pages" widget in the site's sidebar.
Pages vs Posts
For more information of the difference between pages and pages, see:
Categories and Tags
All posts can be assigned one or more categories and/or tags for use in a guided search. New categories can only be added by site administrators or editors and can be organized hierachically. New tags can be added by site administrators, editors and authors.
All the categories/tags on a site can be listed using the "tag cloud" or "categories" widgets. For more information about widgets, see:
Blog Authors, Editors and Administrators
Visitors to a blog may leave a comment through the use of a simple web form. In most cases, this is a name, an email address, and the text of their comment. Authors may decide whether comments appear immediately on the blog, or if they are held until the author can read them.
Blog Visitors, Subscribers
To comment on a Midd WordPress blog, click on the link to comment (usually below the title of the post or below the post text). If you have a Middlebury user account and you see fields for name and email address, this indicates you should log in before you post. If you are NOT part of the Middlebury community (i.e. you don't have a Middlebury user account), you need to fill in your name and email address.
(Click to play)
RSS and Subscribing
WordPress supports both publishing its own content via RSS (really simple syndication) as well as accessing RSS feeds with widgets. Blogs are RSS feeds for posts/entries, comments, categories, tags and authors. Some blogs will display links to some of these feeds, most commonly, the feeds for posts and comments. How you subscribe to a feeds depends on how your browser and computer is configured to handle RSS. Some browsers may be configured such that when you click on an RSS feed link, you are given an option to chose what desktop or web application to use to read the feed.
Here is one way of subscribing to RSS feeds that will work on nearly all browsers/computers:
- Locate the link to the RSS feed you want to subscribe to
- Right click (or control click) on on the RSS link and chose "Copy Link Location" or "Copy Link" or "Copy Shortcut."
- Open you favorite RSS Reader (or try Google Reader), and find the "add subscription" or "subscribe" link or button
- Paste the RSS link url you copied above and click "add" or "save" button/link
The url (web address) of RSS feeds in WordPress follow a common syntax. Thus if the blog you want to subscribe to doesn't display RSS feed links, you can always figure out what they are by using the following convention:
Post Comments RSS:
Best way to get these urls is to go to the blog page that has the content you want to subscribe to and add "/feed" to the end of the url.
Subscribing to Private Blogs
When you are logged in and viewing a private blog, the RSS feed links contain a special key unique to you and the blog that gives your reader access to the feed. There is nothing special you need to do, just subscribe as usual and feeds from private blogs will now work without redirecting your reader to the login page.
Q. Oops, I sent my private feed link to everyone! Now what?
A. If you accidentally share your personal feed link with others, you can go to your profile page and revoke your key for the blog in question.
Q. If someone finds out my key, can they use it to access my other sites?
A. No, keys are per-user and per-site.
Q. I removed a user from my private site, will they still see updates?
A. No, the feed keys just authenticate the user, they still are checked against the subscriber list before showing them content.
Q. Will my feed key let me edit without logging in?
A. No, the key only grants access to feeds, nothing more.
Links to audio files in a WordPress entry will appear in the RSS feed. Visitors may subscribe to this feed as a podcast. To set up your WordPress blog to function as a podcast, do the following:
- Log into your Blog
- Click on the Plugins link in the upper righthand corner
- Chose to Activate the Audio Player plugin
- Click on links to Write > Post
- Give you post a title and add text (describing your podcast post)
- Click on the Add Media "starburst" in the post editor
- Click on the MiddMedia tab
- Chose to show files in your MiddMedia or Upload a new file to MiddMedia
- Click on the "use" button for the file you want to use in your post
- Click on the Publish button to publish your podcast post
Wordpress has special plugins for video and therefore requires special plugin codes that normally aren't used in html coding. In order to embed video, do the following:
- Log into your Blog
- Click on the Plugins link in the upper righthand corner
- Scroll down the page and make sure that the plugin labeled "Wordpress Video Plugin" is green, meaning it is active. If it is inactive, activate it.
- In the upper lefthand corner, click on "Write" and begin a new post.
- Add a title and descriptive text.
- Determine which video hosting program you are using (ie. YouTube, Veoh, etc.)
- Head to this link and find the embed code that's specific to your video server and follow the instructions there.
As an example, YouTube's embed code for Wordpress is [youtube id] where "id" is replaced by the video id on the server.
Access to Blogs
A visitor can view all published entries in a blog. Unpublished entries may have a scheduled publishing date, or they may be manually published.
A blog owner may allow, or not allow comments on their blog.
To limit blog access just to students enrolled in a class, do the following:
- Go the "dashboard" of your blog (you'll need to log in and click on link to site admin or one of the links in the upper right corner.
- Click on the link to privacy under Settings (in the right sidebar).
- Chose to make your blog "visible only to registered members."
- Click on link to "add new" under Users.
- Under "Bulk-Add Users By Group" begin typing in the course code for your class until your class appears in the drop down menu and you can select it.
- Click on the "Add Group Members" button and chose to add them as subscriber or authors (if you want them to create their own posts).
Widgets are available to add character and functionality to the blog. Some widgets that are available include:
- Latest entries
- Creative Commons License
- Tag cloud
- Subscribe to feed
A feed widget can be added to create a list of links to any other blog or website that has an rss feed. Also, third party widgets can be added.
WordPress at Middlebury
The cforms plugin can be used by all offices, departments, and organizations to create general forms for collecting information on the web. This plugin gives users a self-service interface to forms creation.
For more examples, see the blog roll on the home page of Blogging at Middlebury.
- WordPress MU, http://www.wordpress.org/