<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>BG Views Developer Blog - Technical</title>
    <subtitle>This is a blog by Ken Edwards, Webmaster and project lead for the BG Views web site. You will find bits of code, project updates, and random technical information aimed at confusing the hell out of you. </subtitle>
    <link rel="alternate" type="text/html" href="http://bgviewsnetwork.com/dev/technical/" />
    <id>tag:bgviewsnetwork.com,2009-04-01:/dev/202</id>
    <updated>2010-08-30T05:35:04Z</updated>
<logo>http://bgviewsnetwork.com/mt/mt-static/themes/bgviews/images/rss_logo.gif</logo>
     

<entry>
    <title>Setting up a URL Shortener with YOURLS</title>
    <link rel="alternate" type="text/html" href="http://bgviewsnetwork.com/dev/2010/08/setting-up-a-url-shortener-with-yourls/" />
    <id>tag:bgviewsnetwork.com,2010:/dev//41.14055</id>

    <published>2010-08-30T04:26:26Z</published>
    <updated>2010-08-30T05:35:04Z</updated>

    <summary>Right about the time Bit.ly Pro was announced and they were taking invites, I wanted to setup our own URL shortener. Short URLs are very important in the Twitter World, and brand recognition is also important. As it turns out...</summary>
    <author>
        <name>Ken Edwards</name>
        <uri>http://bgviewsnetwork.com/mt/mt-cp.cgi?__mode=view&amp;blog_id=41&amp;id=1</uri>
    </author>
    
        <category term="Technical" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://bgviewsnetwork.com/dev/">
        <![CDATA[<img alt="yourls-logo.gif" src="http://bgviewsnetwork.com/dev/images/yourls-logo.gif" class="mt-image-right" style="float: right; margin: 0pt 0pt 20px 20px;" width="201" height="90" />Right about the time Bit.ly Pro was announced and they were taking invites, I wanted to setup our own URL shortener. Short URLs are very important in the Twitter World, and brand recognition is also important. As it turns out we finally got our Bit.ly Pro invite about a month and a half after setting up <a href="http://yourls.org/">YOURLS</a>. And frankly, I would rather have complete control anyways.<br /> ]]>
        <![CDATA[<b>Step 1.</b> Find a great short URL. I am pretty proud of the domain 
hack I found, http://bgne.ws/. I later noticed that the AP is using 
something similar, what a coincidence: apne.ws. There are a number of 
places to look but <a href="http://domai.nr/">Domainr</a> is one of the 
best. It searches TLDs as well as other hacks such as using folders or 
subdomains. With so many TLD extensions out there these days, you should
 be able to find a creative use of your brand name.<br />
<br />
<b>Step 2</b>. Install YOURLS. See the <a href="http://yourls.org/#Install">Install page</a>
 for details. It is pretty much fill in the blanks in the config.php 
file, something you should be used to by now. Right?<br /><br /><u><b>Some advice</b>:</u><br />
<br />
define('YOURLS_UNIQUE_URLS', true); Set this to true so that your system
 does not churn out 10 short links for 1 article. If someone tries to 
shorten something that has already been shortened, it just returns the 
existing short URL.<br />
<br />
define('YOURLS_PRIVATE', true); I don't recommend setting up a public install of YOURLS, that is just asking for trouble.<br />
<br />
$yourls_user_passwords In this array make sure to create at least one 
username/password set that has special characters (just use 
alphanumeric). This is so when you want to use your YOURLS API with 
TweetDeck, Twitter for iPhone, or any number of other Twitter services, 
you don't have a headache.<br /><br />.htaccess Tip: You cannot use YOURLS in the same directory as other apps that make heavy use of URL rewrites, such as WordPress. Best to run YOURLS in as clean an environment as possible.<br /><br /><b>Step 3</b>. Make the Home Page look spiffy. Obviously optional, but it took little time to change the default home page into our site's <a href="http://bgne.ws/">shell</a>.<br /><br />At this point you are all setup. You can now create short URLs yourself, even use the Bit.ly standard of adding a + at the end of the URL to see the stats (<a href="http://bgne.ws/6+">such as here</a>). You can automate the creation of these short links for <a href="http://yourls.org/#Plugin">WordPress</a>, and now <a href="http://mt-hacks.com/20100826-autotweet-new-entries-to-twitter.html">Movable Type</a>, and you can even use the API for your own YOURLS install.<br /><br />If you are not using WordPress or Movable Type, and can't find a plugin for your needs, you can still make easy use of the API. <a href="http://gist.github.com/557026">Read this Gist</a>. The only problem with that is that it would run every time the page was accessed, and it does not store the Short URL in a database. You would want to add the following to your config.php to disable flood blocking:<br /><br />define('YOURLS_FLOOD_DELAY_SECONDS', 0);<br /><br />There is a better way to handle this in Movable Type, Twitter Tools. I will cover that in a future post.<br /><br /><b>Third Party Tools</b><br /><br />Lets setup YOURLS so you can easily use it with some third party tools. I will be using TweetDeck and Twitter for iPhone (Tweetie 2) as examples.<br /><br /><b>Step 1</b>. Duplicate yourls-api.php and give it a unique name, something short. Edit this new file and delete the Line yourls_maybe_require_auth(); (this should be Line 4). This allows you to pass options to your API and not require a login. Typing the URL on a mobile device is hard enough as it is.<br /><br /><u><b>Using YOURLS with TweetDeck</b></u><br />
<br />
In Preferences, go to Services and change the Short URL service from Bit.ly (or whatever it is currently set to) to Other. Now use the following URL as a template, modify the domain and the filename to the API file you just duplicated:<br />
<br />
<code style="font-size: 9px;">http://domain.com/filename.php?action=shorturl&amp;format=simple&amp;url=%@</code><br />
<br />
Now pasting URLs into TweetDeck will use our own URL Shortening service.<br />
<br />
<u><b>Using YOURLS with Twitter for iPhone</b></u><br />
<br />
Also known as Tweetie 2 before Twitter bought it. Go to the "..." button in the bottom toolbar and Accounts &amp; Settings. Click on Settings, Services, URL Shortening. Select custom and very carefully type in the same URL used above, then hit Save.<br />
<br />
<code style="font-size: 9px;">http://domain.com/filename.php?action=shorturl&amp;url=%@&amp;format=simple</code><br />
<br />
When you paste a URL into the New Tweet menu touch the little icon that displays how many characters you have remaining, and touch the Shrink URLs button. It will now shorten them using your YOURLS install!<br /><br />Since we don't use WordPress, I can't speak for how easy it is to use that plugin, but it looks pretty strait forward. In my next post I will go over how to use Twitter Tools for Movable Type with YOURLS, which is what we do have setup for The BG News.<br />]]>
    </content>
</entry>

<entry>
    <title>AnythingSlider for Movable Type</title>
    <link rel="alternate" type="text/html" href="http://bgviewsnetwork.com/dev/2010/08/anythingslider-for-movable-type/" />
    <id>tag:bgviewsnetwork.com,2010:/dev//41.14045</id>

    <published>2010-08-29T04:34:35Z</published>
    <updated>2010-08-30T05:27:04Z</updated>

    <summary><![CDATA[ Before the break for the summer semester, I sat down with Sean Shapiro and Heather Linder, or Web Editor and Editor-in-Chief, respectively, and we took a look at what they wanted to see on bgnews.com for the fall.&nbsp; Top...]]></summary>
    <author>
        <name>Ken Edwards</name>
        <uri>http://bgviewsnetwork.com/mt/mt-cp.cgi?__mode=view&amp;blog_id=41&amp;id=1</uri>
    </author>
    
        <category term="Technical" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="anythingslider" label="AnythingSlider" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="javascript" label="javascript" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="movabletype" label="movable type" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://bgviewsnetwork.com/dev/">
        <![CDATA[<div style="float: right; padding-left: 10px;"><a href="http://bgviewsnetwork.com/dev/images/2010/08/Screen%20shot%202010-08-30%20at%201.25.14%20AM.png" rel="lightbox"><img src="http://bgviewsnetwork.com/dev/images/2010/08/Screen%20shot%202010-08-30%20at%201.25.14%20AM-thumb-150x83-4107.png" alt="Screen shot 2010-08-30 at 1.25.14 AM.png" class="photo-thumb" width="150" height="83" /></a></div>

Before the break for the summer semester, I sat down with Sean Shapiro and Heather Linder, or Web Editor and Editor-in-Chief, respectively, and we took a look at what they wanted to see on bgnews.com for the fall.&nbsp; Top of that list was an image-based carousel.<br /><br />Feature-wise, the one we were currently using was not cutting the mustard. I took a good hard look at <a href="http://www.agilecarousel.com/">Agile Carousel</a>, and even started writing Movable Type code to work with it. But its not exactly easy to use. Then I ran into <a href="http://css-tricks.com/anythingslider-jquery-plugin/">AnythingSlider</a> by <span class="fn">Chris Coyier</span> and eventually an even better fork of it by <a href="http://github.com/ProLoser/AnythingSlider">Dean Sofer</a> on GitHub. That is the history lesson, now lets move on to AnythingSlider for Movable Type.<span class="fn"></span>]]>
        <![CDATA[<a href="http://github.com/meancode/mt-plugin-anythingslider">AnythingSlider for Movable Type</a> consists of two plugins, one for changing all the settings of the carousel itself, and one for managing each slide. I am currently using this plugin on a few client web sites, bgnews.com being one of them, and am continuing to develop it - there are more options I want to expose in a Movable Type interface.<br /><br />The download also comes with Mark Carey's <a href="http://mt-hacks.com/templateinstaller.html">TemplateInstaller</a>, as I have created a set of templates, modules and widgets for AnythingSlider. Mark was nice enough to allow me to package his plugin in with mine.<br /><br />AnythingSlider for Movable Type was written in <a href="http://github.com/endevver/mt-plugin-configassistant">Config Assistant</a> for a couple reasons. Config Assistant makes development and upkeep a snap, and allows virtually anyone to make modifications to my AnythingSlider plugin. Say you want to use Pages instead of Entries in your carousel. This is a trivial change in the YAML code of the AnythingSlider plugin, and nothing else needs to be modified.<br /><br />See the <a href="http://github.com/meancode/mt-plugin-anythingslider">README</a> for installing, including prerequisites. You will likely need to modify the CSS and the Template Modules to fit the size and style of your carousel. Currently there is an image-based slider, and an article-based slider (like on bgnews.com) installed with the Template Modules. <br /><br />There is more to come soon, just <a href="http://github.com/meancode/mt-plugin-anythingslider">watch GitHub</a> for updates.<br />]]>
    </content>
</entry>

<entry>
    <title>Fix WordPress Export User Interface</title>
    <link rel="alternate" type="text/html" href="http://bgviewsnetwork.com/dev/2010/04/fix-wordpress-export-user-interface/" />
    <id>tag:bgviewsnetwork.com,2010:/dev//41.13249</id>

    <published>2010-04-27T03:00:00Z</published>
    <updated>2010-04-27T03:12:30Z</updated>

    <summary>Thanks to the CoPress Google Group and @nacin, my life in WordPress is that much easier. By about 100%. Let me explain.The drop down menu on the Export page (in 2.9.1. and before) is an absolute mess. It does not...</summary>
    <author>
        <name>Ken Edwards</name>
        <uri>http://bgviewsnetwork.com/mt/mt-cp.cgi?__mode=view&amp;blog_id=41&amp;id=1</uri>
    </author>
    
        <category term="Technical" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="wordpress" label="wordpress" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://bgviewsnetwork.com/dev/">
        <![CDATA[Thanks to the <a href="http://groups.google.com/group/copress">CoPress Google Group</a> and <a href="http://twitter.com/nacin">@nacin</a>, my life in WordPress is that much easier. By about 100%. Let me explain.<br /><br />The drop down menu on the Export page (in 2.9.1. and before) is an absolute mess. It does not list authors in alphabetical order. It lists them in the order they appear in the database.&nbsp; We have 10 years of archives to go through - that equates to a lot of authors! (Plus countless duplicates, thanks to the way College Publisher works.)<br /><br />Quickly after posting my concern asking how to fix the $authors array, Andrew came up with a superb solution. You can find it on the <a href="http://core.trac.wordpress.org/changeset/14153">WordPress Trac</a> and make the modification yourself. This change will make it into WordPress 3.0. It also looks like the database query has been cleaned up quite a bit from the original code.<br /><br />Many thanks to Andrew and his help. It has made the absolutely painstakingly headache-inducing task of going through our old College Publisher archives a little bit easier at the end of the day.<br /> ]]>
        
    </content>
</entry>

<entry>
    <title>BG News Archives Update Feb. 19</title>
    <link rel="alternate" type="text/html" href="http://bgviewsnetwork.com/dev/2010/02/bg-news-archives-update-feb-19/" />
    <id>tag:bgviewsnetwork.com,2010:/dev//41.12312</id>

    <published>2010-02-19T05:59:27Z</published>
    <updated>2010-02-19T06:21:51Z</updated>

    <summary>One of the biggest challenges in moving away from College Publisher has been the 10 years of archives we have had online. As I am sure you are aware, those were abruptly taken down in January.Simply put, there was no...</summary>
    <author>
        <name>Ken Edwards</name>
        <uri>http://bgviewsnetwork.com/mt/mt-cp.cgi?__mode=view&amp;blog_id=41&amp;id=1</uri>
    </author>
    
        <category term="Daily Log" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Technical" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="cp5" label="CP5" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="mtvu" label="mtvU" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://bgviewsnetwork.com/dev/">
        <![CDATA[One of the biggest challenges in moving away from College Publisher has
been the 10 years of archives we have had online. As I am sure you are
aware, those were abruptly taken down in January.<br /><br />Simply put, there was no other way to switch from their servers to ours.<br /><br />We are working tirelessly to get the archive back online, and today I would like to share (a new) update on that. I sent out an update on our Facebook Fan Page on Feb. 8, and I wish I could say we have made progress since then.<br /><br />Hit the jump to hear the (somewhat condensed) updated info.<br /> ]]>
        <![CDATA[As it turns out, the entirety of the archive coming out of CP5, well, 90% + had no categories. Add to that the fact that over 50% had no authors, and you can bet how I felt about that.<br /><br />Luckily I still had the CP4 export I had gotten in January 2009 from College Publisher, which does have authors and categories. So the import process had to be started again, from scratch.<br /><br />Then when the CP5 era posts (January through December 2009) were imported, they lacked categories, a small problem with the import script. There was another problem with the media field, thanks to inconsistencies with the CP5 data structure. These issues have been resolved.<br /><br />So the CP5 era posts have to be deleted and re-imported, again. This has been a very long process and I figured it would be a bear - and I was right! :/<br /><br />Hopefully by Sunday I will have the CP5 era entries to work with, with categories. My job then requires me to combine categories and authors (some instances occur that we have 5 or 6 of the same author). Once that is done, I can load the articles into the live site on bgnews.com.<br /><br />That is the best I can do for an update. I apologize to those who are seeking clips for resumes and job applications, or just searching for a past article. The best I can do is point you to our <a href="http://issuu.com/bgviews">Issuu account</a>.<br /><br />As always, I will post here once there is a significant update.<br />]]>
    </content>
</entry>

<entry>
    <title>The BG News is powered by Movable Type</title>
    <link rel="alternate" type="text/html" href="http://bgviewsnetwork.com/dev/2010/01/the-bg-news-is-powered-by-movable-type/" />
    <id>tag:bgviewsnetwork.com,2010:/dev//41.11481</id>

    <published>2010-01-16T19:53:53Z</published>
    <updated>2010-01-16T21:41:04Z</updated>

    <summary>The launching of a web site is a stressful one, but the re-launching of one can be enough to kill you. Lucky for me things went smoothly in the wee hours of January 12 (and I am not typing this...</summary>
    <author>
        <name>Ken Edwards</name>
        <uri>http://bgviewsnetwork.com/mt/mt-cp.cgi?__mode=view&amp;blog_id=41&amp;id=1</uri>
    </author>
    
        <category term="Daily Log" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Technical" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="cp5" label="CP5" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="movabletype" label="movable type" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://bgviewsnetwork.com/dev/">
        <![CDATA[The launching of a web site is a stressful one, but the re-launching of one can be enough to kill you. Lucky for me things went smoothly in the wee hours of January 12 (and I am not typing this from the grave).<br /><br />I would like to say the transition away from College Publisher has been a smooth one, but it in fact has not. Just today the domain name was finally transferred into our account, and it is still not resolving all over the Internets yet. And we do not have our database of past archives, last I talked to CP it looked like I would have them by Friday.<br /><br />So if you are just tuning in, the entire BG Views Network of sites is running under Movable Type, including The BG News, which was previously partnered with College Publisher. We are by far not the first school to leave College Publisher in recent months, and no doubt won't be the last.<br /><br />But this post is not about College Publisher, it is about Movable Type, and how we are using it to produce a daily newspaper online.<br /> ]]>
        <![CDATA[<i>The remainder of this post is going to seem a bit technical for some. Sorry, but you get no refund.</i><br /><br />BG Views Network uses Movable Type Pro running under FastCGI, the actual BG News web site is made up of a number of "blogs." Movable Type Pro was required more for the Custom Fields than the community features, but those are a nice bonus. Here is the short list of MT plugins we use and rely on a daily basis. Some we could do without, some we could have gotten by with the "Lite" version, but in the end my goal in this re-launch was to not just match the feature set of our previous site, but exceed it - and we did that.<br /><br />The <a href="http://gallery.bgnews.com/">Photo Galleries</a> is built using Byrne Reese's <a href="http://github.com/byrnereese/mt-plugin-photogallery">Photo Gallery</a> plugin, in a separate MT install that is not running under FastCGI. His template set switches menus and admin pages and because of how FastCGI caches the application, it just doesn't play nice. I hated to split Photo Galleries out like that, but it had to be done.<br /><br /><div align="center"><a href="http://bgviewsnetwork.com/dev/images/2010/01/Picture%2014.png" rel="lightbox"><img src="http://bgviewsnetwork.com/dev/images/2010/01/Picture%2014-thumb-350x73-2911.png" alt="Picture 14.png" class="photo-thumb" width="350" height="73" /></a>

</div><br />As with working with the Motion template set, it was much easier to port my existing BG Views design to Mid-Century (than incorporate it into my design), the theme the Photo Gallery plugin is built using. Using a secondary category archive and a Custom Field in the main BG News blog, I am easily able to embed a gallery within an Entry, <a href="http://bgnews.com/campus/centennial-concert-kicks-off-year-long-celebration/">such as here</a>.<br /><br />MT4 Custom Fields offer a lot, but I needed more, and as luck would have it, <a href="http://www.eatdrinksleepmovabletype.com/plugins/more_custom_fields/">More Custom Fields</a> by Dan Wolfgang offers just that. MCF is used a lot more in the Housing Guide, but the "Related Articles" <a href="http://bgnews.com/campus/centennial-concert-kicks-off-year-long-celebration/">you see here</a> are one type of field the plugin provides. We actually use a lot of Dan's plugins; <a href="http://www.eatdrinksleepmovabletype.com/plugins/better_file_uploader/">Better File Uploader</a> is essential to sizing, thumbnailing, and lightboxing (in one fell swoop) photos for our Entry pages; <a href="http://www.eatdrinksleepmovabletype.com/plugins/share/">Share</a> is used for the "email to a friend" feature; and <a href="http://www.eatdrinksleepmovabletype.com/plugins/poll_position/">Poll Position</a> is used for running polls in our blogs and in Entries.<br /><br /><div style="float: right; padding-left: 10px;"><a href="http://bgviewsnetwork.com/dev/images/2010/01/ConfigAssistant.png" rel="lightbox"><br /></a></div>

<div style="float: right; padding-left: 10px;"><a href="http://bgviewsnetwork.com/dev/images/2010/01/ConfigAssistant.png" rel="lightbox"><img src="http://bgviewsnetwork.com/dev/images/2010/01/ConfigAssistant-thumb-150x178-2908.png" alt="ConfigAssistant.png" class="photo-thumb" width="150" height="178" /></a></div>

The last "essential" plugin we use, and likely most important, is Byrne's <a href="http://github.com/byrnereese/mt-plugin-configassistant">Config Assistant</a> plugin. Without it, updating things like the home page carousel, section pages, or breaking stories would take much more work for our news staff, and if I have one goal, it is to automate as much stuff as humanly possible. Config Assistant lets me do that, in spades. I need to do more with it, I just have not had the time.<br /><br />There are plugins out there that will embed a Share This toolbar, but I felt it was much better to write my own, <a href="http://bgviewsnetwork.com/dev/2009/08/final-tweet-this-bitly-script/">including</a> using the bit.ly API for URL shortening. <br /><br />The other plugin we rely on daily is Visitor Stats Pro, it provides our "Most Read" lists, and stats, referers, and search strings for our articles.<br /><br />We use many more utility plugins from developers like Byrne and Mark Carey, too, they just makes my life so much easier.<br /><br />The BG News has been online since 1998 and we have come a long way from hosting it ourselves in West Hall and doing the majority of the work in BBEdit. It is great to be publishing our site again, and Movable Type makes that a breeze.<br />]]>
    </content>
</entry>

<entry>
    <title>Movable Type 5 Impressions</title>
    <link rel="alternate" type="text/html" href="http://bgviewsnetwork.com/dev/2010/01/movable-type-5-impressions/" />
    <id>tag:bgviewsnetwork.com,2010:/dev//41.11184</id>

    <published>2010-01-09T07:09:59Z</published>
    <updated>2010-01-10T00:18:10Z</updated>

    <summary>It seemed like forever between the time MT5 was released in Japan at the end of November until it was just released in the U.S. We found out the day after, because of a security update to both MT 4.33...</summary>
    <author>
        <name>Ken Edwards</name>
        <uri>http://bgviewsnetwork.com/mt/mt-cp.cgi?__mode=view&amp;blog_id=41&amp;id=1</uri>
    </author>
    
        <category term="Technical" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="movabletype" label="movable type" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://bgviewsnetwork.com/dev/">
        <![CDATA[It seemed like forever between the time MT5 was released in Japan at the end of November until it was just released in the U.S. We found out the day after, because of a security update to both MT 4.33 and MT 5, but they wouldn't tell us that. <br /><br />Telling us it was due to "wanting more time for coordination of the release and associated documentation" was frankly bull shit. Sorry guys. There still is hardly any documentation, <a href="http://forums.movabletype.org/2010/01/mt5-mutliblog-mtwebsites-blog-ids-include-blogs-new-attributes-and-modifiers.html">scouring FogBugz</a> seems to have offered the best loot so far. MT5 was released 4 days ago, and I still cannot lookup information on <i>mt:Websites</i> tag or the parent/child/sibling modifiers, for example. The <i>mt:</i><span class="mt-tag"><i>BlogParentWebsite</i> is another tag I would like to know more about, too.</span><br /><br />Come on guys, I thought you were putting a big effort into developing better documentation.<br /> ]]>
        <![CDATA[I have been testing out the betas of MT5 for a while now, so am well aware of the major differences between MT4. I know that we cannot use MT5 right away for BG Views Network, as we rely on a great number of plugins and even features not yet in MT5. Actions and Motion are not part of MT5 (yet) for example.<br /><br />Below is a list of what I like and don't like about what I have experienced with the final build. Now I am fully aware that some nut job is going to take my words and twist them around for personal gains, it <a href="http://breakingwindows.com/2008/03/movable_type_community_solutio.php">happened before</a> after all. Little piece of advice - don't be that nut job. I use the tool that is the best for the job at hand, that happens to be Movable Type.<br /><br /><b>Liked</b><br /><br /><ul><li>New Website object is long overdue. It is a game changer for organization and coding alike. </li><li>Custom Fields for every object in the system, including Website, Blog, and Template. <b>Blog level custom fields should have been there from the get-go in MT4.</b> Setting custom fields on templates is also a time saver.<br /></li><li>Revision history on everything. This is most welcome for template changes.</li><li>Batch Edit Entries, which was missing from the betas, is now back, thankfully!</li><li>They have made it very clear how entries/categories and pages/folders work together. Nothing has changed, it is just a much nicer way of displaying them.</li><li>Themes are an enormous update from template sets in MT4. I just wish there was better documentation on them so I did not have to reverse engineer the built in themes to develop an MT5 BG Views theme.</li><li>Assigning a sub-domain to a blog publish and document root is now easier than ever. It is a small tweak, but it is nice.</li><li>New Tool: Export Theme, which currently seems like the best option for designing your own theme. So there is no need for another <a href="http://mt-hacks.com/templateexporter.html">TemplateExporter</a> version.</li><li>While the Community template set still doesn't use the Facebook namespace by default, they have done a good job at restructuring some of the template modules, making them global instead of local.<br /></li></ul><br /><b>Didn't Like</b><br /><br /><ul><li>Would it have been that difficult to add Heading tags to the default Rich Text Editor? I know I can install others, but would it really have been too much to ask for a drop down menu of H tags?</li><li>Along the same lines, how about being able to toggle the window full screen for template editing? Yes, it is a bigger window, but the toggle would have been nice.</li><li>MT5 desperately needs a "Blog Mover" Tool at the System Overview level, especially because of the way MT4 is imported into MT5. This should not be that difficult to create, all the tool needs to do is offer a UI to manipulate the publishing and document root path of the blog.</li><li>We need a "Works with MT5" tag, or wiki page, or something started, that indicates what plugins work and do not work in MT5. This was done with MT4 and was very helpful.</li><li>Websites can only have pages, not entries. This is nice. But it is
overly complicated when you just want a simple blog. Every Blog must be
under a Website, and importing MT4 will produce just that, every blog
inside its own Website.</li><li>I figured that MT5 would see the inclusion of native search support for Custom Fields. Currently the 3rd party <a href="http://tec.toi-planning.net/en/mt/customfieldssearch">CustomFieldSearch</a> is the only solution for this.<br /></li></ul>I can't wait until I can upgrade BG Views Network to MT5, just for the new Website object alone. Being able to use the parent/child/sibling modifiers is going to be a boon for displaying data around the network.<br /><br /><i>I will keep this updated as I spend more and more time with the final version. Last updated 1/9/2010.</i><br />]]>
    </content>
</entry>

<entry>
    <title>The Changing Face of Comment Spam</title>
    <link rel="alternate" type="text/html" href="http://bgviewsnetwork.com/dev/2009/12/the-changing-face-of-comment-spam/" />
    <id>tag:bgviewsnetwork.com,2009:/dev//41.11136</id>

    <published>2009-12-27T07:49:38Z</published>
    <updated>2009-12-27T08:57:22Z</updated>

    <summary>It is hard to imagine, but I have been blogging for close to seven years now, and I have seen comment spam of varying degrees. It used to be pretty easy to spot. Services like Akismet and now TypePad AntiSpam...</summary>
    <author>
        <name>Ken Edwards</name>
        <uri>http://bgviewsnetwork.com/mt/mt-cp.cgi?__mode=view&amp;blog_id=41&amp;id=1</uri>
    </author>
    
        <category term="Daily Log" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Technical" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="movabletype" label="movable type" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="spam" label="spam" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://bgviewsnetwork.com/dev/">
        <![CDATA[It is hard to imagine, but I have been blogging for close to seven years now, and I have seen comment spam of varying degrees. It used to be pretty easy to spot. Services like <a href="http://akismet.com/">Akismet</a> and now <a href="http://antispam.typepad.com/">TypePad AntiSpam</a> are there to help - and they do - but even trained computers fail at finding spam. Both Akismet and TPAS have been failing me lately, let me show you why:<br /><br /><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="Picture 113.png" src="http://bgviewsnetwork.com/dev/images/Picture%20113.png" class="mt-image-center" style="margin: 0pt auto 20px; text-align: center; display: block;" height="88" width="415" /></span><div>If you read that, it is actually <i>mostly</i> literate English. This is one of dozens of spam comments we have been getting. They usually do not put links in the body of the comment, that is so yesterday's tactic, but do use the Author URL to link to their spam site. And some of the spam sites don't even look like spam site - they actually take a careful eye.<br /><br />Spam is getting smarter. This is scary.<br /><br />One solution is to use a CAPTCHA source, such as ReCAPTCHA, but these can be defeated, I have seen it happen. The drastic answer to this problem is to just turn off anonymous comments altogether, but for us, that is not an option. We want people to comment, and registration drives some people away.<br /><br />The only good answer is that it takes a lot of hard work to combat comment spam, and having good policies in place help, too. See our <a href="http://bgviewsnetwork.com/privacy/">Privacy Policy</a>, <a href="http://bgviewsnetwork.com/tos/">Terms of Use</a>, and <a href="http://bgviewsnetwork.com/comment-policy/">Comments Policy</a>. You may think that is a lot of mumbo jumbo - and it is - but it is very important for our users to know where they stand.<br /><br />Such policies are required to provide a safe, engaging place for the community to not only consume, but create and share content.<br /></div>]]>
        
    </content>
</entry>

<entry>
    <title>Database Move a Success, the Second Time</title>
    <link rel="alternate" type="text/html" href="http://bgviewsnetwork.com/dev/2009/10/database-move-test/" />
    <id>tag:bgviewsnetwork.com,2009:/dev//41.10675</id>

    <published>2009-10-04T00:54:25Z</published>
    <updated>2009-10-17T05:51:56Z</updated>

    <summary>On October 1st, can&apos;t remember now, I tried moving all databases including the one used for Movable Type from /var to /home, as it is a much bigger volume. Movable Type kept sending me to an infinite loop to the...</summary>
    <author>
        <name>Ken Edwards</name>
        <uri>http://bgviewsnetwork.com/mt/mt-cp.cgi?__mode=view&amp;blog_id=41&amp;id=1</uri>
    </author>
    
        <category term="Technical" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://bgviewsnetwork.com/dev/">
        <![CDATA[On October 1st, can't remember now, I tried moving all databases including the one used for Movable Type from /var to /home, as it is a much bigger volume. Movable Type kept sending me to an infinite loop to the mt-upgrade.cgi script, then telling me everything was upgraded.<br><br>So I had to move everything back to /var and wait until the weekend. I moved it the second time, and everything is working again. I am glad I did not have to restore from a backup, I thought I had hosed the MT database. For what its worth, the Six Apart support could not give me any advice or answers to why I was getting the "Time to Upgrade" and then immediately "Your Movable Type installation is already up to date." endless loop.<br>]]>
        
    </content>
</entry>

<entry>
    <title>YUI Editor 1.3 and Auto-tagging</title>
    <link rel="alternate" type="text/html" href="http://bgviewsnetwork.com/dev/2009/08/yui-editor-13-and-auto-tagging/" />
    <id>tag:bgviewsnetwork.com,2009:/dev//41.10550</id>

    <published>2009-08-28T04:52:48Z</published>
    <updated>2009-08-28T05:08:56Z</updated>

    <summary> Richard Benson has updated his YUI Editor plugin (one of my favorite Movable Type plugins), and it has two great changes/additions. First, and not so exciting for most people, is the configurable options, normally handled in a configure.js file,...</summary>
    <author>
        <name>Ken Edwards</name>
        <uri>http://bgviewsnetwork.com/mt/mt-cp.cgi?__mode=view&amp;blog_id=41&amp;id=1</uri>
    </author>
    
        <category term="Daily Log" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Technical" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="javascript" label="javascript" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="movabletype" label="movable type" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="richardbenson" label="richard benson" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://bgviewsnetwork.com/dev/">
        <![CDATA[<div style="float: right; padding-left: 10px; padding-bottom: 10px;"><img src="http://bgviewsnetwork.com/dev/images/2009/08/Picture%2011.png" alt="Picture 11.png" class="photo-thumb yui-img" height="371" width="223"></div>

<a class="" title="" target="_blank" href="http://www.richardbenson.co.uk/">Richard Benson</a> has updated his YUI Editor plugin (one of my favorite Movable Type plugins), and it has two great changes/additions. First, and not so exciting for most people, is the configurable options, normally handled in a <span style="font-family: Courier New;">configure.js</span> file, has been moved into Plugin Preferences. But hey, that does make it easier to change things.<br><br>The thing that people will notice most of all is the new Tag button which will analyze the current text and suggest tags for the article. This is great for people who don't know what they should use as tags. It does a really good job, and works on the text in the Body and Extended field without having to save the document first.<br>]]>
        
    </content>
</entry>

<entry>
    <title>Final &apos;Tweet This&apos; Bit.ly Script</title>
    <link rel="alternate" type="text/html" href="http://bgviewsnetwork.com/dev/2009/08/final-tweet-this-bitly-script/" />
    <id>tag:bgviewsnetwork.com,2009:/dev//41.10468</id>

    <published>2009-08-13T07:12:32Z</published>
    <updated>2009-08-13T07:13:40Z</updated>

    <summary>Thanks to the WebmasterWorld forums, my Tweet This script opens in a new window now. I am pretty happy with it. I am not very happy with Safari though. Firefox warns you when an onClick action tries to run window.open,...</summary>
    <author>
        <name>Ken Edwards</name>
        <uri>http://bgviewsnetwork.com/mt/mt-cp.cgi?__mode=view&amp;blog_id=41&amp;id=1</uri>
    </author>
    
        <category term="Technical" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="javascript" label="javascript" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="movabletype" label="movable type" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="twitter" label="twitter" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://bgviewsnetwork.com/dev/">
        <![CDATA[Thanks to the <a target="_blank" href="http://www.webmasterworld.com/">WebmasterWorld</a> forums, my Tweet This script opens in a new window now. I am pretty happy with it. I am not very happy with Safari though. Firefox warns you when an onClick action tries to run window.open, Safari just plays dumb and does nothing.<br><br><span><a href="http://bgviewsnetwork.com/dev/images/tweet_this.txt">Download Script</a></span>]]>
        
    </content>
</entry>

<entry>
    <title>Using the ShareThis API with Movable Type</title>
    <link rel="alternate" type="text/html" href="http://bgviewsnetwork.com/dev/2009/08/using-the-sharethis-api-with-movable-type/" />
    <id>tag:bgviewsnetwork.com,2009:/dev//41.10408</id>

    <published>2009-08-08T16:48:59Z</published>
    <updated>2009-08-08T17:12:17Z</updated>

    <summary>Yesterday (or was that this morning) I posted about adding your own &quot;Tweet This&quot; button to your blog. Today I will explain how you can better control the ShareThis button, and use some Movable Type template tags to do your...</summary>
    <author>
        <name>Ken Edwards</name>
        <uri>http://bgviewsnetwork.com/mt/mt-cp.cgi?__mode=view&amp;blog_id=41&amp;id=1</uri>
    </author>
    
        <category term="Technical" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="javascript" label="javascript" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="movabletype" label="movable type" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="twitter" label="twitter" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://bgviewsnetwork.com/dev/">
        <![CDATA[<a title="" target="" href="http://bgviewsnetwork.com/dev/2009/08/social-bookmarking-links/">Yesterday</a> (or was that this morning) I posted about adding your own "Tweet This" button to your blog. Today I will explain how you can better control the ShareThis button, and use some Movable Type template tags to do your bidding. This uses the ShareThis API and could easily be used with any CMS, not just Movable Type. Hit the jump for all the scary code.<br>]]>
        <![CDATA[While you can just copy the code block from your ShareThis account, you can also control the ShareThis widget using the API, as <a href="http://sharethis.com/developers/api_examples/">briefly described here</a>. The example on that page is half of what we need.&nbsp; First add this to your global HTML Head template:<br /><br /><span style="font-size: 12px; font-family: Courier New;">

&lt;mt:IfArchiveType type=&quot;individual&quot;&gt;<br />
&lt;script type=&quot;text/javascript&quot;&gt;<br />
function addJS(path,callback){var d=document;var p=d.getElementsByTagName('HEAD')[0];var c=d.createElement('script');c.type='text/javascript';c.src=path;if(callback!==undefined){c.onload=callback;}p.appendChild(c);}<br />
var inlineJS=[];function callJS(inlineJS){var l=inlineJS.length;for(var i=0; i&lt;l; i++){inlineJS[i]();}} <br />
addJS('http://w.sharethis.com/widget/?tabs=web%2Cpost%2Cemail&amp;amp;charset=utf-8&amp;amp;style=default&amp;amp;publisher=<strong>PUBLISHER_ID_HERE</strong>&amp;amp;headerbg=%23638dc1&amp;amp;inactivebg=%2395b9ed&amp;amp;inactivefg=%23ffffff&amp;amp;linkfg=%23638dc1');<br />
&lt;/script&gt;<br />
&lt;/mt:IfArchiveType&gt;

</span><br /><br />Mine is modified from that, you can view the source code of this page to see my changes. You can basically copy all the parameters from the auto-generated code block you get from your account and add them here.<br /><br />Placing the ShareThis icon on your page can be done using inline CSS and images, or external CSS. I went the quick and dirty rout, but will likely clean it up soon.<br /><br />
<span style="font-size: 12px; font-family: Courier New;">

&lt;a id=&quot;sharethis&quot; rel=&quot;nofollow&quot; href=&quot;javascript:void(0);&quot; title=&quot;Submit &lt;$MTEntryTitle encode_html=&quot;0&quot;&gt; to ShareThis&quot;&gt;&lt;img src=&quot;<strong>/path/to/image.gif</strong>&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;script type=&quot;text/javascript&quot;&gt;var object = SHARETHIS.addEntry({title: '&lt;$MTEntryTitle encode_html=&quot;0&quot;&gt;',url: '&lt;$mt:EntryPermalink$&gt;',summary: '&lt;$mt:EntryExcerpt$&gt;'},{button:false});var element = document.getElementById(&quot;sharethis&quot;);object.attachButton(element);&lt;/script&gt;
</span><br /><br />Place the above code on the page where you want the image to show up. I put this in my Entry Detail template.]]>
    </content>
</entry>

<entry>
    <title>Social Bookmarking Links</title>
    <link rel="alternate" type="text/html" href="http://bgviewsnetwork.com/dev/2009/08/social-bookmarking-links/" />
    <id>tag:bgviewsnetwork.com,2009:/dev//41.10407</id>

    <published>2009-08-08T08:13:42Z</published>
    <updated>2009-08-08T08:41:12Z</updated>

    <summary>I have not made up my mind yet, so far we have been using ShareThis for social bookmarking links, for submitting to sites such as Twitter, Delicious, Digg, etc. I think I would rather pick the few that are the...</summary>
    <author>
        <name>Ken Edwards</name>
        <uri>http://bgviewsnetwork.com/mt/mt-cp.cgi?__mode=view&amp;blog_id=41&amp;id=1</uri>
    </author>
    
        <category term="Technical" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="javascript" label="javascript" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="twitter" label="twitter" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://bgviewsnetwork.com/dev/">
        <![CDATA[I have not made up my mind yet, so far we have been using ShareThis for social bookmarking links, for submitting to sites such as Twitter, Delicious, Digg, etc. I think I would rather pick the few that are the most important and write them myself into the site. <br><br>I am going to start by doing that with Twitter. Thanks to a post on the <a title="" target="" href="http://forums.movabletype.org/2009/08/how-to-add-a-post-to-twitter-button-to-every-entry.html">MT.org forums</a>, posts now have a quicker way to add links to Twitter. It uses the bit.ly API. You just need to signup for an account to get an API key. Hit the jump to see my modified code.<br><br>Another option is to use <a href="http://tweetmeme.com/">TweetMeme</a> but their badge is pretty big, and I wanted something less obtrusive.]]>
        <![CDATA[<span style="font-size: 10px; font-family: Courier New;">&lt;script type="text/javascript" charset="utf-8" src="http://bit.ly/javascript-api.js?version=latest&amp;login=BITLY_LOGIN&amp;apiKey=BITLY_API_KEY"&gt;&lt;/script&gt;</span><br /><span style="font-size: 10px; font-family: Courier New;">&lt;script type="text/javascript"&gt;</span><br /><span style="font-size: 10px; font-family: Courier New;">BitlyCB.shortenResponse = function(data) {</span><br /><span style="font-size: 10px; font-family: Courier New;">var s = '';</span><br /><span style="font-size: 10px; font-family: Courier New;">var first_result;</span><br /><span style="font-size: 10px; font-family: Courier New;">// Results are keyed by longUrl, so we need to grab the first one.</span><br /><span style="font-size: 10px; font-family: Courier New;">for (var r in data.results) {</span><br /><span style="font-size: 10px; font-family: Courier New;">first_result = data.results[r]; break;</span><br /><span style="font-size: 10px; font-family: Courier New;">}</span><br /><span style="font-size: 10px; font-family: Courier New;">// Now get the shortURL</span><br /><span style="font-size: 10px; font-family: Courier New;">shortURL = first_result["shortUrl"];</span><br /><span style="font-size: 10px; font-family: Courier New;">document.location = "http://www.twitter.com/home/?status=" + document.title.replace(/ /g,"+") + "+" + shortURL + "+(via+@bgviews)";</span><br /><span style="font-size: 10px; font-family: Courier New;">}</span><br /><span style="font-size: 10px; font-family: Courier New;">&lt;/script&gt;</span><br /><span style="font-size: 10px; font-family: Courier New;">&lt;img src="/path/to/image.gif" title="Tweet about &lt;$MTEntryTitle encode_html="0"&gt;" onClick="BitlyClient.shorten(document.location, 'BitlyCB.shortenResponse');"&gt;</span><br />]]>
    </content>
</entry>

<entry>
    <title>Setting Up RewriteRules for Profile and Tags</title>
    <link rel="alternate" type="text/html" href="http://bgviewsnetwork.com/dev/2009/08/setting-up-rewriterules-for-profile-and-tags/" />
    <id>tag:bgviewsnetwork.com,2009:/dev//41.10398</id>

    <published>2009-08-07T04:15:15Z</published>
    <updated>2009-08-07T21:05:52Z</updated>

    <summary><![CDATA[I am adding .htaccess RewriteRules for all the domains we have so we have pretty clean URLs like this one:http://bgviewsnetwork.com/profile/meancodeThat is done by doing this:RewriteEngine onRewriteRule ^profile/(.*)$ /mt/mt-cp.cgi?__mode=view&amp;blog_id=49&amp;username=$1 [P,L]Add a new RewriteRule for each domain you have. Just change the...]]></summary>
    <author>
        <name>Ken Edwards</name>
        <uri>http://bgviewsnetwork.com/mt/mt-cp.cgi?__mode=view&amp;blog_id=41&amp;id=1</uri>
    </author>
    
        <category term="Technical" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="movabletype" label="movable type" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://bgviewsnetwork.com/dev/">
        <![CDATA[I am adding .htaccess RewriteRules for all the domains we have so we have pretty clean URLs like this one:<br><br><a href="http://bgviewsnetwork.com/profile/meancode">http://bgviewsnetwork.com/profile/meancode</a><br><br>That is done by doing this:<br><br><span style="font-family: Courier New;">RewriteEngine on</span><br><span style="font-family: Courier New;">RewriteRule ^profile/(.*)$ /mt/mt-cp.cgi?__mode=view&amp;blog_id=<b>49</b>&amp;username=$1 [P,L]</span><br><br>Add a new RewriteRule for each domain you have. Just change the BlogID. Note I am not making a <span style="font-family: Courier New;">/profile/</span> RewriteRule for each blog, just one per domain. This also makes the <span style="font-family: Courier New;">profile_view_url</span> template variable of no use anymore.&nbsp; Now, to modify the Entry Metadata template module, use this for your link:<br><br><span style="font-family: Courier New;">&lt;a href="/profile/&lt;mt:EntryAuthorUsername&gt;"&gt;&lt;$mt:EntryAuthorDisplayName$&gt;&lt;/a&gt;</span><br><br>Next on the list of pretty looking URLs are tags. I have both of these changes live on the <a href="http://bgnewssports.com/">Sports Blog</a>. It will be live on every blog once I get the RewriteRules done, of which there are a lot - one for each blog in the system, no matter the domain. So now we have URLs such as this:<br><br><a href="http://bgnewssports.com/tag/curtmiller">http://bgnewssports.com/tag/curtmiller</a><br><br>That is done by doing this:<br><br><span style="font-family: Courier New;">RewriteEngine on</span><br><span style="font-family: Courier New;">RewriteRule ^dev/tag/(.*)$ /mt/mt-search.fcgi?blog_id=<b>41</b>&amp;tag=$1 [P,L]</span><br><span style="font-family: Courier New;">RewriteRule ^tag/(.*)$ /mt/mt-search.fcgi?blog_id=<b>49</b>&amp;tag=$1 [P,L]</span><br><br>Add a new RewriteRule for each blog you have. Just change the BlogID and path. Now, to modify the Tag Cloud widget, use this for your link:<br><br><span style="font-family: Courier New;">&lt;a href="&lt;$mt:BlogURL$&gt;tag/&lt;$mt:TagName normalize="1"$&gt;" rel="tag"&gt;&lt;$mt:TagName$&gt;&lt;/a&gt;</span><br><br>It is worth noting that even tags that have spaces, such as "<a title="" target="" href="http://bgviewsnetwork.com/dev/tag/movable-type">movable type</a>" or "<a title="" target="" href="http://bgnewssports.com/tag/curtmiller">curt miller</a>" work with the <span style="font-family: Courier New;">normalize</span> attribute (which takes out spaces). Pretty slick.<br>]]>
        
    </content>
</entry>

<entry>
    <title>iMT won&apos;t work with FastCGI</title>
    <link rel="alternate" type="text/html" href="http://bgviewsnetwork.com/dev/2009/08/imt-wont-work-with-fastcgi/" />
    <id>tag:bgviewsnetwork.com,2009:/dev//41.10397</id>

    <published>2009-08-07T02:55:56Z</published>
    <updated>2009-08-07T03:03:09Z</updated>

    <summary>iMT is the iPhone interface for Movable Type. Thankfully the CSS has been updated for iPhone OS 3.0, but alas, it won&apos;t work with FastCGI. This seems to be the same issue I am having with the Photo Gallery template...</summary>
    <author>
        <name>Ken Edwards</name>
        <uri>http://bgviewsnetwork.com/mt/mt-cp.cgi?__mode=view&amp;blog_id=41&amp;id=1</uri>
    </author>
    
        <category term="Technical" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="iphone" label="iphone" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="movabletype" label="movable type" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://bgviewsnetwork.com/dev/">
        <![CDATA[<a title="" target="" href="http://plugins.movabletype.org/imt/">iMT</a> is the iPhone interface for Movable Type. Thankfully the <a title="" target="" href="http://forums.movabletype.org/2009/06/help-with-imt-iphone-plugin.html">CSS has been updated</a> for iPhone OS 3.0, but alas, it won't work with FastCGI. This seems to be the same <a title="" target="" href="http://bgviewsnetwork.com/dev/2009/08/photo-gallery-and-fastcgi/">issue I am having with the Photo Gallery</a> template set I am having, dynamically changing files don't work when the MT app is cached.<br><br>In this instance, the CSS and templates for the new entry screen will stay as the "mobile" version if they are accessed on an iPhone, even when viewing it on a desktop browser.&nbsp; So no more iMT for BG Views Network. Oh well.<br>]]>
        
    </content>
</entry>

<entry>
    <title>Photo Gallery and FastCGI</title>
    <link rel="alternate" type="text/html" href="http://bgviewsnetwork.com/dev/2009/08/photo-gallery-and-fastcgi/" />
    <id>tag:bgviewsnetwork.com,2009:/dev//41.10209</id>

    <published>2009-08-04T23:58:10Z</published>
    <updated>2009-08-05T03:17:58Z</updated>

    <summary>FastCGI has claimed its first victim. Byrne&apos;s Photo Gallery template set, and any other that dynamically switches the menu in Movable Type, does not work well with FastCGI. Since MT is cached into memory, every time I want to edit...</summary>
    <author>
        <name>Ken Edwards</name>
        <uri>http://bgviewsnetwork.com/mt/mt-cp.cgi?__mode=view&amp;blog_id=41&amp;id=1</uri>
    </author>
    
        <category term="Daily Log" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Technical" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="movabletype" label="movable type" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://bgviewsnetwork.com/dev/">
        <![CDATA[FastCGI has claimed its first victim. Byrne's <a title="" target="" href="http://www.majordojo.com/projects/movable-type/photo-gallery/">Photo Gallery template set</a>, and any other that dynamically switches the menu in Movable Type, does not work well with FastCGI. Since MT is cached into memory, every time I want to edit our Photo Gallery I have to restart Apache, this is not optimal. At all. Sadly I don't think there is anything that can be done. For those not familiar with the command line, this is how you restart Apache:<br><br><span style="font-family: Courier New;">service apache restart</span><br><br>I don't want to leave you with nothing to look at, so I will leave you with this: a close-to-complete <a title="" target="" href="http://gallery.bgnews.com/boys-state/bgsu-painted-rock/">Entry template for our photo gallery</a>. That URL will be broken soon, so if you are reading this very much past August 4, just look at the main Photo Gallery site. I have a little bit more work to do yet, but I have essentially taken the Mid-Centry Photo Gallery template and added the needed CSS to make it look like our BG Views site. Still having problems with commenting, though.<br><br>Byrne has released 2.4.2 of Photo Gallery which he states adds FastCGI support, but still requires a restart of Apache.<br>]]>
        
    </content>
</entry>

</feed>


