{"id":219,"date":"2015-01-28T19:14:42","date_gmt":"2015-01-28T19:14:42","guid":{"rendered":"https:\/\/www.courses.tegabrain.com\/SS15\/?page_id=219"},"modified":"2015-01-28T19:15:25","modified_gmt":"2015-01-28T19:15:25","slug":"219-2","status":"publish","type":"page","link":"https:\/\/www.courses.tegabrain.com\/SS15\/?page_id=219","title":{"rendered":"How to use this blog"},"content":{"rendered":"<p>We will be using this wordpress site for most things we do\u00a0in this course. This\u00a0website is implemented as a customized WordPress blog. For general information about editing WordPress pages, <a href=\"http:\/\/codex.wordpress.org\/WordPress_Lessons\" target=\"_blank\">see this resource<\/a>, or <a href=\"http:\/\/codex.wordpress.org\/Main_Page#Learn_How_to_Use_WordPress\" target=\"_blank\">this one<\/a>. To get started publishing, <a href=\"http:\/\/www.courses.tegabrain.com\/PVA1\/wp-login.php\" target=\"_blank\">log in here<\/a>.<\/p>\n<p>Student assignments will be submitted in the form of WordPress Posts (not Pages), that you edit and publish with the WordPress editor after logging in. You will also be required to submit your code via TurnItIn.<\/p>\n<h1>EMBEDDING UPLOADED IMAGES<\/h1>\n<p>Customary varieties of web-ready images (.jpg, .gif, .png) can be uploaded to our site using the \u201cAdd Media\u201d button in the top left of the WordPress post editor. Click this button, upload your media to the site, and then be sure to \u201cinsert into post\u201d. (If you forget to insert the image into your post, it will just languish in a directory of uploaded images.) Here\u2019s what the \u201cAdd Media\u201d button looks like:<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-141\" src=\"http:\/\/cmuems.com\/2013\/b\/wp-content\/uploads\/sites\/3\/2013\/08\/addmedia.png\" alt=\"addmedia\" width=\"97\" height=\"24\" \/><\/p>\n<p>Note that there are restrictions on the maximum file size (10MB) you may upload. Contact the professor if this presents a problem, or try saving your file with a smaller file size using Photoshop\u2019s \u201cSave for Web &amp; Devices\u201d feature.<\/p>\n<h1>EMBEDDING EXTERNAL MEDIA IN YOUR POSTS<\/h1>\n<p>Many assignments will require you to embed a variety of external media objects into a WordPress post. For example, you may wish to embed a YouTube video documenting one of your projects. For this purpose, our course blog makes use of the powerful WordPress Jetpack plugin. Jetpack provides the following shortcodes to embed your media:<\/p>\n\n<pre lang=\"java\">[blip.tv]\r\n[dailymotion]\r\n[digg]\r\n[flickr]\r\n[googlemaps]\r\n[polldaddy]\r\n[scribd]\r\n[slideshare]\r\n[soundcloud]\r\n[videopress]\r\n[vimeo]\r\n[youtube]\r\n<\/pre>\n<h3>EMBEDDING SYNTAX-COLORED CODE<\/h3>\n<p>This WordPress uses the\u00a0Make WP-Syntax\u00a0plugin by\u00a0Akinori MUSHA. This plugin provides syntax highlighting for a wide range of popular languages. To highlight Processing code In the WordPress editor\u2019s HTML or \u201cText\u201d mode, wrap your code blocks with\u00a0&lt;pre lang=&#8221;java&#8221;&gt;and&lt;\/pre&gt;<\/p>\n<pre lang=\"java\">void setup() {\r\nsize(200, 200);\r\n}\r\nvoid draw() {\r\nsmooth();\r\nbackground(#ffffff);\r\nrect(0,0, width-1,height-1);\r\nellipse (100, 100, random(80), random(80));\r\nline (0,0, mouseX, mouseY);\r\n}<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>We will be using this wordpress site for most things we do\u00a0in this course. This\u00a0website is implemented as a customized WordPress blog. For general information about editing WordPress pages, see this resource, or this one. To get started publishing, log in here. Student assignments will be submitted in the form of WordPress Posts (not Pages), [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/www.courses.tegabrain.com\/SS15\/index.php?rest_route=\/wp\/v2\/pages\/219"}],"collection":[{"href":"https:\/\/www.courses.tegabrain.com\/SS15\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.courses.tegabrain.com\/SS15\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.courses.tegabrain.com\/SS15\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.courses.tegabrain.com\/SS15\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=219"}],"version-history":[{"count":3,"href":"https:\/\/www.courses.tegabrain.com\/SS15\/index.php?rest_route=\/wp\/v2\/pages\/219\/revisions"}],"predecessor-version":[{"id":222,"href":"https:\/\/www.courses.tegabrain.com\/SS15\/index.php?rest_route=\/wp\/v2\/pages\/219\/revisions\/222"}],"wp:attachment":[{"href":"https:\/\/www.courses.tegabrain.com\/SS15\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=219"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}