<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" ><channel><title>RuneForge</title> <atom:link href="http://runeforge.net/feed/" rel="self" type="application/rss+xml" /><link>http://runeforge.net</link> <description>Knowledge makes the difference</description> <lastBuildDate>Thu, 25 Aug 2011 20:58:13 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.2.1</generator> <item><title>Installing APC for PHP 5.3 on CentOS 6.0</title><link>http://runeforge.net/tutorial/installing-apc-for-php-5-3-on-centos-6-0/</link> <comments>http://runeforge.net/tutorial/installing-apc-for-php-5-3-on-centos-6-0/#comments</comments> <pubDate>Mon, 15 Aug 2011 21:16:59 +0000</pubDate> <dc:creator>Mario Albrecht</dc:creator> <category><![CDATA[Tutorial]]></category> <category><![CDATA[APC]]></category> <category><![CDATA[CentOS]]></category> <category><![CDATA[Linux]]></category><guid isPermaLink="false">http://runeforge.net/?p=358</guid> <description><![CDATA[APC just renamed to php-pecl-apc and is available from the default repositories. So the following lines are the way to go now under PHP 5.3. yum -y install php-pecl-apc /etc/rc.d/init.d/httpd...]]></description> <content:encoded><![CDATA[<p>APC just renamed to php-pecl-apc and is available from the default repositories.</p><p>So the following lines are the way to go now under PHP 5.3.</p><p><code>yum -y install php-pecl-apc<br /> /etc/rc.d/init.d/httpd restart</code></p> ]]></content:encoded> <wfw:commentRss>http://runeforge.net/tutorial/installing-apc-for-php-5-3-on-centos-6-0/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Installing php-mcrypt / varnish for PHP 5.3 on CentOS 6.0</title><link>http://runeforge.net/tutorial/installing-php-mcrypt-varnish-for-php-5-3-on-centos-6-0/</link> <comments>http://runeforge.net/tutorial/installing-php-mcrypt-varnish-for-php-5-3-on-centos-6-0/#comments</comments> <pubDate>Mon, 15 Aug 2011 21:11:36 +0000</pubDate> <dc:creator>Mario Albrecht</dc:creator> <category><![CDATA[Tutorial]]></category> <category><![CDATA[CentOS]]></category> <category><![CDATA[Linux]]></category><guid isPermaLink="false">http://runeforge.net/?p=353</guid> <description><![CDATA[Run the following line on the shell and press 2 times &#8220;y&#8221; rpm -Uvh http://download.fedora.redhat.com/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm Then you can install php-mcrypt or varnish for PHP 5.3 like any other rpm via...]]></description> <content:encoded><![CDATA[<p>Run the following line on the shell and press 2 times &#8220;y&#8221;</p><p><code>rpm -Uvh http://download.fedora.redhat.com/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm</code></p><p>Then you can install php-mcrypt or varnish for PHP 5.3 like any other rpm via</p><p><code>yum install php-mcrypt</code></p> ]]></content:encoded> <wfw:commentRss>http://runeforge.net/tutorial/installing-php-mcrypt-varnish-for-php-5-3-on-centos-6-0/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Tracking internal search with Drupal and Google Analytics</title><link>http://runeforge.net/tutorial/tracking-internal-search-with-drupal-and-google-analytics/</link> <comments>http://runeforge.net/tutorial/tracking-internal-search-with-drupal-and-google-analytics/#comments</comments> <pubDate>Mon, 06 Jun 2011 18:41:06 +0000</pubDate> <dc:creator>Mario Albrecht</dc:creator> <category><![CDATA[Tutorial]]></category> <category><![CDATA[Drupal]]></category> <category><![CDATA[Google Analytics]]></category><guid isPermaLink="false">http://runeforge.net/?p=347</guid> <description><![CDATA[Tracking your internal search on Drupal sites with Google Analytics is easier then it looks.]]></description> <content:encoded><![CDATA[<p>After some playing around with not working settings, its quite easy to do. But since its not well documented, i&#8217;ll write a quite How To here.</p><h2>Setting up Google Analytics</h2><p>Assuming you have your Google Analytics set up properly there are some settings here that we need to take a look at.</p><ol><li>Go to the overview page of ALL websites</li><li>Search your Drupal website and click on the EDIT on the right site</li><li>Under &#8220;<strong>Main Website Profile Information</strong>&#8221; click the edit on the top right corner of the box</li><li>Under &#8220;<strong>Site Search</strong>&#8221; make sure &#8220;<strong>Do Track Site Search</strong>&#8221; is checked</li><li>Under &#8220;<strong>Query Parameter</strong>&#8221; fill in &#8220;<strong>search,search/apachesolr_search,search/multisite_search</strong>&#8221; without the &#8220;</li><li>Click save changes</li></ol><h2>Setting up Drupal</h2><p>You need to have the core search module enabled for obvious reasons. It should work out of the box for normal Drupal sites.</p><p>If you are using the <strong>Google Analytics module</strong> :</p><ol><li>Go to <strong>admin/settings/googleanalytics</strong></li><li>Under &#8220;<strong>Advanced settings</strong>&#8221; make sure &#8220;<strong>Track Internal Search</strong>&#8221; is checked</li><li>Click save changes</li></ol> ]]></content:encoded> <wfw:commentRss>http://runeforge.net/tutorial/tracking-internal-search-with-drupal-and-google-analytics/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>What if drivers were hired like software developers?</title><link>http://runeforge.net/blog/what-if-drivers-were-hired-like-software-developers/</link> <comments>http://runeforge.net/blog/what-if-drivers-were-hired-like-software-developers/#comments</comments> <pubDate>Mon, 23 May 2011 12:12:16 +0000</pubDate> <dc:creator>Mario Albrecht</dc:creator> <category><![CDATA[Blog]]></category> <category><![CDATA[Fun]]></category><guid isPermaLink="false">http://runeforge.net/?p=339</guid> <description><![CDATA[This is a repost of this post. Job title Car driver Job requirements Professional skills in driving normal- and heavy-freight cars, buses and trucks, trolley buses, trams, subways, tractors, shovel...]]></description> <content:encoded><![CDATA[<p><em>This is a repost of <a href="http://blog.jitbit.com/2011/05/what-if-drivers-were-hired-like.html">this post</a>.</em></p><h2>Job title</h2><p>Car driver</p><h2>Job requirements</h2><ul><li>Professional skills in driving normal- and heavy-freight cars, buses and trucks, trolley buses, trams, subways, tractors, shovel diggers, contemporary light and heavy tanks currently in use by NATO countries.</li><li>Skills in rally and extreme driving are obligatory!</li><li>Formula-1 driving experience is a plus.</li><li>Knowledge and experience in repairing of piston and rotor/Wankel engines, automatic and manual transmissions, ignition systems, board computer, ABS, ABD, GPS and car-audio systems by world-known manufacturers &#8211; obligatory!</li><li>Experience with car-painting and tinsmith tasks is a plus.</li><li>The applicants must have certificates by BMW, General Motors and Bosch, but not older than two years.</li></ul><ul><li>Compensation: $15-$20/hour, depends on the interview result.</li><li>Education requirements: Bachelor&#8217;s Degree of Engineering.</li></ul> ]]></content:encoded> <wfw:commentRss>http://runeforge.net/blog/what-if-drivers-were-hired-like-software-developers/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Secret options in chrome</title><link>http://runeforge.net/tutorial/secret-options-in-chrome/</link> <comments>http://runeforge.net/tutorial/secret-options-in-chrome/#comments</comments> <pubDate>Sat, 21 May 2011 13:26:50 +0000</pubDate> <dc:creator>Mario Albrecht</dc:creator> <category><![CDATA[Tutorial]]></category> <category><![CDATA[Chrome]]></category> <category><![CDATA[FireFox]]></category> <category><![CDATA[Secret Settings]]></category><guid isPermaLink="false">http://runeforge.net/?p=331</guid> <description><![CDATA[About:config for FireFox Many of us know the &#8220;secret&#8221; settings page for FireFox. You simply enter &#8220;about:config&#8221; in the URL bar and press Enter. Now you can fine tune various...]]></description> <content:encoded><![CDATA[<h2>About:config for FireFox</h2><p>Many of us know the &#8220;secret&#8221; settings page for FireFox. You simply enter &#8220;about:config&#8221; in the URL bar and press Enter. Now you can fine tune various under the hood settings on this page.</p><h2>About:flags for Chrome</h2><p>But there is also such a page in Chrome. Enter &#8220;about:flags&#8221; on the Omnibar, press enter and you can turn on/off some very interesting, but yet experimental settings for Chrome.</p> ]]></content:encoded> <wfw:commentRss>http://runeforge.net/tutorial/secret-options-in-chrome/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Dead Space &#8211; Review &#8211; The dead space looks pretty alive</title><link>http://runeforge.net/review/dead-space-review-the-dead-space-looks-pretty-alive/</link> <comments>http://runeforge.net/review/dead-space-review-the-dead-space-looks-pretty-alive/#comments</comments> <pubDate>Mon, 02 May 2011 23:32:19 +0000</pubDate> <dc:creator>Mario Albrecht</dc:creator> <category><![CDATA[Review]]></category> <category><![CDATA[Dead Space]]></category> <category><![CDATA[PC Game]]></category><guid isPermaLink="false">http://runeforge.net/?p=319</guid> <description><![CDATA[Whats Dead Space? Dead Space is a survival horror third-person shooter video game, developed by EA Redwood Shores for PlayStation 3, Xbox 360 and Microsoft Windows released in October 2008....]]></description> <content:encoded><![CDATA[<h2>Whats Dead Space?</h2><blockquote><p>Dead Space is a survival horror third-person shooter video game, developed by EA Redwood Shores for PlayStation 3, Xbox 360 and Microsoft Windows released in October 2008. The player takes on the role of an engineer named Isaac Clarke, who battles a polymorphic, virus-like, alien infestation which turns humans into grotesque alien monsters called &#8220;Necromorphs&#8221;, on board an interstellar mining ship named the USG Ishimura &#8211; <a href="http://en.wikipedia.org/wiki/Dead_Space_(video_game)">Wikepedia Article</a></p></blockquote><h1>Prequel</h1><p>I must admit i downloaded the game from my trusted source of &#8220;security copys&#8221;. I was looking for a nice and easy ~10 hours distraction from the work on my projects and boy did Dead Space deliver. I will for sure grab a copy of the original game when i go to a video game shop next time and already ordered the sequel <a href="http://en.wikipedia.org/wiki/Dead_Space_2">Dead Space 2</a>.</p><p>I played the game on a Windows 7 64bit, Intel Q6600 Quadcore @ 2.4 GHz with a single NVidia GTX260 serving a 23&#8243; monitor on max settings.</p><p>The first playthrough was done on medium difficulty ( which was a mistake .. see later why ).</p><h1>Technical stuff</h1><h2>Its a good console port</h2><p>When you play the game from a developers perspective you will notice that its originally designed for consoles. However this doesn&#8217;t hurt the experience on a PC. The game is ported absolutely flawless. Except for unskipable cut scenes and ingame movies, you will never notice. Controls are fine, menu flow is fine, save system are fine. Dead Space didn&#8217;t trapped into one of the big NoNo&#8217;s from Console -> PC games. Even better &#8230; it brought us some nice fresh wind from the good console game feature. But more on that later.</p><h2>Graphics &#8211; 5/5</h2><p>The game still looks very good from a 3 year later point of view. It sure can&#8217;t hold up to Crysis 2 on maxed everything, but the developers took a very close look on the details .. and you feel that when you play. Everything is fitting exceptionally well and the graphics compliment the atmosphere extremely well. If i&#8217;d need to compare it to something i would say it look like Mass Effect 2, but one step further.</p><p>Also i never experienced clipping problems, unwanted &#8220;Wall Hacks&#8221; or anything. Bug free at least on my system. I must admit .. for an unpatched game ( as i ran it ) this is actually really surprising for todays time.</p><h2>Sound &#8211; 5/5</h2><p>Amazing .. simply amazing. Wow .. from monster sounds, to ambient music, to sound effect, to weapon effects .. everything perfect. Playing on my 5.1 headphones i always felt like i was in an abandoned space ship with creepy monsters all around me. For more than ones i actually turned around ingame to see where that creepy sound was coming from and whether or not its a thread to me.</p><p>Whatever sound studio was behind it .. you did an amazing job!</p><h2>Controls &#8211; 4/5</h2><p>Seeing it as an console port i didn&#8217;t really expect much, but the controls where nice and accurate. While the mouse on the main menu sure has some mouse acceleration problems, it doesn&#8217;t affect you ingame.</p><h2>Interface &#8211; 5/5</h2><p>One of the points i mentioned earlier &#8220;Taking good points from console games and implement them onto PC games&#8221;.<br /> None of the interface elements are static on your screen. In fact you see none the entire game. You always see your character from a 3rd person shooter kind of view with the health and mana bars on his back. The ammunition display directly shows on a realistic way on the weapon ( when you right-click aim ). Breath and story telling elements are also flawlessly integrated into the 3rd person view. Even the inventory is not just a window poping up, but a smartly and logically display on your character.</p><p>I like that a lot and give my honest respect to the person who designed that!</p><h1>Gameplay</h1><p>You will get a good 15 hours of entertainment out of your first run through Dead Space. I turned every stone around looking for better loot ( like i always do ^_^ ) and played a bit over 20 hours.</p><h2>Story &#8211; 3/5</h2><p>While the story was certainly fitting into the &#8220;You&#8217;re on a lonely ship invaded by aliens&#8221; scenario .. it was kind of the default story you&#8217;ll get from a game focusing on other aspects.</p><p>+ The story is fitting, logical and compact</p><p>+ The story has some very nice &#8220;Keep you hanging&#8221; moments where you don&#8217;t know if the thing you do at the moment is actually good for the cause of the background characters and you</p><p>+ The story also has some twists and changes. On ~50% of the game i was suspecting how the story would twist, but on ~70% of the game it was pretty clear where it would probably go to. But also more than ones i was highly surprised by next step on the story. There was never a downtime in story telling. They always give you something to think about.</p><p>- No choices. Man whyyyy :,( I didn&#8217;t expect a high complex interaction system like in Mass Effect 2, but at the later parts of the story its certainly CRYING for a moral choice by the player. For the last 40% of the game i always had in mind &#8220;PLEASE let me choose my next step&#8221;. They never did. This would certainly helped a TON on replayability if they would have implemented one or two moral decisions here and there. I was certainly disappointed on that one.</p><p>- &#8220;Would you kindly?&#8221; .. The one mission aim you have at any time is strictly linear and always done in the way &#8220;Please pull this plug, repair this, get this thing there&#8221; with one &#8220;supervisor&#8221; telling you what do to. Don&#8217;t get me wrong, this worked 100% fine on the game setting, but like i said before : Implementing some moral choices here could have improved this by 1000%.</p><p>- You certainly will not win new views on life or something to think about it on real life from the game</p><h2>Cutscenes, Storytelling and Background Information &#8211; 3/5</h2><p>The story telling is on a overall medium level. There are some pretty amazing videos, but they are really rare. I feel like some situation could have been improved with a cutscene and some could have really needed one.</p><p>+ There are 3 mini games and some interactive cutscenes. The interactive cutscenes still only rely on pressing a button fast or shooting a certain spot of an enemy.</p><p>+ If there are cutscenes they are of Hollywood movie caliber.</p><p>- I feel like the cutscenes are used too rarely. I certainly didn&#8217;t expect a Call of Duty &#8220;play some mini games in between cutscenes&#8221; disaster, but only 2 scenes are a bit to low. While the story telling ingame is fine, i&#8217;d love to see more movies.</p><p>- Why on earth would you drive the metro with your back towards the open entry of the train o_O</p><h2>Items, Guns &#038; Skills &#8211; 4/5</h2><p>Besides from your Telekinesis Skill and a Slowdown Skill for environmental objects and enemies you get the 6 big mayor weapon classes in modern games. You&#8217;ll get one precise pistol, a shotgun, another shotgun with mine effect, a machine gun, a rocket launcher and a flame thrower. Just in a modern costume of cause.</p><p>+ You have a limited amount of inventory space and I also needed to make hard choices on what to prioritize on keeping ( e.g. keep the ammunition you need to stay alive or keep the item that sells for lot of money on the shop )</p><p>+ You can only buy items from the shop if you have found the blueprints on hidden spots around the levels</p><p>+ You can modify your armor/weapons via an ingame modification system. You can trade collected &#8220;power nodes&#8221; ( rare items you find ingame ) for better weapon stats like recharge speed, damage, magazine capacity and speed. Its logically implemented in the game and can only be done on workbenches which are available on every quest hub in the game.</p><p>+ Ammo is always rare and you&#8217;ll breath on relieve if you&#8217;ll see a item shop on the horizon multiple times on the game. The first game in a long time that a game woke this &#8220;I&#8217;m actually low on ammo .. i need to wisely spend it&#8221; feeling in me.</p><p>* Its a neutral point, but i only modded my first pistol weapon to max damage, reload speed and speed and never used any other weapon, besides trying them out. Except from the &#8220;explode into zerglings guy&#8221; ( with bad aiming a flame thrower will save your ass here <img src='http://runeforge.net/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> ) i never felt like i need any of the other weapons.</p><p>- The two skills only serve the purpose of solving ingame puzzles. At least on medium difficulty they can be totally ignored while dealing with enemies. I have the strong feeling that this will change on higher difficulties.</p><p>- Some items have no use on lower difficulties. I nearly certain that this will change on higher difficulties.</p><h2>Enemies &#8211; 5/5</h2><p>+ The enemy AI is very smart. No sweet spotting on boss enemies ( they will fall back to hidden places ones you&#8217;re on such a spot ). Also the enemies will surround you, flank you, take cover and bust your fortressed position.</p><p>+ Every single enemy type needs a special way of defeating them. You can&#8217;t simply just empty your magazine on a group of dudes and hope you&#8217;re fine. In Dead Space 80% of the group will survive if you&#8217;re not applying customized strategies on every single one of the enemy types.</p><p>While the custom strategy only involves shooting at different parts of their bodies &#8230; its easier said then done. Its challenging until the end of the game and a very big plus on the game in my opinion.</p><p>+ Enemies spawn on scripted events that fit extremely well into the atmosphere of the game. Will still practicable to a certain point most of the time you don&#8217;t know where the enemies will spawn from. Combine that with the awesome sound effects / music in this game and you&#8217;ll enjoy 15 hours of paranoia.</p><p>- There are only ~6 types of enemies. Like i said above every single one of the encounters is challenging and every single enemy type is very well designed, unique and demanding, but later in the game the old models only get replaced with darker ones. You&#8217;ll still fight the same dudes ( they are still challenging! ) just you need to hit other parts of their body ( way harder then it sounds! )</p><h2>Replayability &#8211; 4/5</h2><p>After finishing the game on medium difficulty i was awarded with a new item to unlock on the shop ( Military Uniform ), another difficulty level, some extra credits on the new run and some &#8220;Background story information&#8221; while playing. I must admit .. that definitely challenges and invites me to play another run. While i can&#8217;t see how you could reenjoy the story, i certainly would love to see some of my negative points denied ( Like some items having no use on medium, the slow down / telekinesis skill have no use, that i didn&#8217;t need to use other weapons etc. ).</p><p>You also keep your inventory/items/mods from the last run when choosing to continue after the last boss fight. Neat!</p><p>In all honesty i will play on &#8220;Insane&#8221; ones more and because i&#8217;m pretty sure the game was balanced on a higher difficulty &#8230; will get another great 20 hours out of it.</p><h1>Conclusion</h1><p><strong>Play the game on hard/insane mode!</strong><br /> You&#8217;re certainly not doing you a favor in running on ez mode. I feel like i missed out 50% of the game experience just by playing on a too easy game mode.</p><p><strong>Buy the game!</strong><br /> While the game has some flaws ( due to too low difficulty mode chosen by the reviewer .. aka me <img src='http://runeforge.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> ) its certainly a must buy.</p> ]]></content:encoded> <wfw:commentRss>http://runeforge.net/review/dead-space-review-the-dead-space-looks-pretty-alive/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>ROOT Gaming</title><link>http://runeforge.net/project/root-gaming/</link> <comments>http://runeforge.net/project/root-gaming/#comments</comments> <pubDate>Sun, 10 Apr 2011 19:03:32 +0000</pubDate> <dc:creator>Mario Albrecht</dc:creator> <category><![CDATA[Project]]></category><guid isPermaLink="false">http://runeforge.net/?p=148</guid> <description><![CDATA[]]></description> <content:encoded><![CDATA[<p><a href="http://root-gaming.com"></p> ]]></content:encoded> <wfw:commentRss>http://runeforge.net/project/root-gaming/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Hard reset a Pocket LOOX n520 and set up its GPS for Windows Mobile 5 and Navigon 7</title><link>http://runeforge.net/tutorial/hard-reset-a-pocket-loox-n520-and-set-up-its-gps-for-windows-mobile-5-and-navigon-7/</link> <comments>http://runeforge.net/tutorial/hard-reset-a-pocket-loox-n520-and-set-up-its-gps-for-windows-mobile-5-and-navigon-7/#comments</comments> <pubDate>Sun, 10 Apr 2011 14:28:23 +0000</pubDate> <dc:creator>Mario Albrecht</dc:creator> <category><![CDATA[Tutorial]]></category> <category><![CDATA[GPS]]></category> <category><![CDATA[Navigon]]></category> <category><![CDATA[Windows Mobile]]></category><guid isPermaLink="false">http://runeforge.net/?p=244</guid> <description><![CDATA[Just some random things i needed to do over the weekend to get my dads horribly messed up Pocket LOOX n520 back to work and reinstall Navigon 7 on it.]]></description> <content:encoded><![CDATA[<h1>Preamble</h1><p>Just some random things i needed to do over the weekend to get my dads horribly messed up Pocket LOOX n520 back to work and reinstall Navigon 7 on it.</p><p>Since i searched nearly 4 hours for these two pieces of information i&#8217;d actually write a tutorial about them.</p><h1>Hardreset on a Pocket LOOX n520</h1><p><strong>WARNING : This will delete every single customization you did and remove all installed applications. It will reset the Pocket LOOX n520 to a clean delivered state!</strong></p><ol><li>Simultaneously press and hold the Suspend/Resume button (1) and the Calendar application button (2).</li><li>Briefly press the stylus tip into the soft reset opening (3).</li><li>Continue to hold down the Suspend/Resume button and the Calendar application button for a few seconds.</li></ol><p>The reset can take a few minutes. At the end an acoustic signal sounds. Please follow the further instructions on the display. When you reset your Pocket PC to the delivered state, the battery switches off so that the RAM content is lost. This means: You loose all data (documents, additionally installed programs, personal settings) that you haven&#8217;t saved elsewhere.</p><p><a href="http://www.hardreset.eu/fujitsu-siemens_pocketloox_n520_hard_reset_soft_reset_en.html">Source</a></p><h1> Configuring Windows Mobile 5 and Navigon 7 &#8216;s GPS settings</h1><h2>Set up Windows Mobile 5</h2><p>Goto <strong>Start &#8211;> Settings &#8211;> System &#8211;> GPS</strong></p><ul><li>GPS program port = COM 8</li><li>GPS hardware port = COM 4</li><li>Baud rate: 9600</li><li>Check &#8220;Automatically configure GPS&#8221;</li></ul><h2>Set up Navigon 7</h2><p>Goto <strong>Settings &#8211;> GPS Status &#8211;> Manual Settings</strong><br /> <em>( its where you also can let Navigon search for an GPS device per hand. Don&#8217;t do that, but click the &#8220;Manual&#8221; button there )</em></p><ul><li>GPS receiver with external TMC</li><li>GPS-Port: COM 8, SerialGPS</li><li>Baud rate: 9600</li><li>TMC-Port: COM 1 Serial</li><li>Baud rate: 9600</li></ul><p>Also note that Navigon takes quite a while to find a GPS signal. It may take up to 10 minutes. Also make sure you are testing it on a free area. Getting GPS in your house or flat will most certainly not work!</p><p><a href="http://forum.pocketnavigation.de/forum1000072-navigon-mobilenavigator-6-xx-wm/1055937-mn6-erkennt-nternen-gps-nicht/">Source ( german )</a></p> ]]></content:encoded> <wfw:commentRss>http://runeforge.net/tutorial/hard-reset-a-pocket-loox-n520-and-set-up-its-gps-for-windows-mobile-5-and-navigon-7/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Bulk update comment settings on existing Drupal nodes</title><link>http://runeforge.net/tutorial/bulk-update-comment-settings-on-existing-drupal-nodes/</link> <comments>http://runeforge.net/tutorial/bulk-update-comment-settings-on-existing-drupal-nodes/#comments</comments> <pubDate>Sun, 13 Feb 2011 22:42:45 +0000</pubDate> <dc:creator>Mario Albrecht</dc:creator> <category><![CDATA[Tutorial]]></category> <category><![CDATA[Database]]></category> <category><![CDATA[Drupal]]></category> <category><![CDATA[SC2.FM]]></category><guid isPermaLink="false">http://runeforge.net/?p=230</guid> <description><![CDATA[A simple and fast way to change the comment settings on existing Drupal nodes.]]></description> <content:encoded><![CDATA[<h1>Preamble</h1><p>Recently i decided to switch Drupal&#8217;s build in comment system to <a href="http://disqus.com" target="_blank">Disqus</a>. Its seems to have a lot promising benefits for my current project <a href="http://runeforge.net/project/sc2-fm/">SC2.FM</a>, but there was one big problem on the migration. While disabling comments on newly created nodes was no problem ( Via the Content Type settings page ), i had ~26.000 nodes with the comment settings turned on and no way to disable the comment feature on all of them in a reasonable time frame.</p><p>After a small research it seems like there is no module for this task and no helpful knowledge on Google. So i&#8217;ll explain how you can easily turn off comments for existing nodes without editing them all by hand.</p><h3>What is Drupal?</h3><blockquote><p>Drupal is an is a is a free and open source content management system (CMS) written in PHP and distributed under the GNU General Public License. It is used as a back-end system for at least 1% of all websites worldwide ranging from personal blogs to corporate, political, and government sites including whitehouse.gov and data.gov.uk - <a href="http://en.drupal.org/wiki/Drupal">Wikipedia</a></p></blockquote><h3>What is Disqus?</h3><blockquote><p>Disqus is a global comment system that improves discussion on websites and connects conversations across the web - <a href="http://disqus.com" target="_blank">Disqus.com</a></p></blockquote><h1>Requirements</h1><ul><li>Drupal 6.20 or higher</li><li>A recent database backup</li></ul><h1>The Magic</h1><p>It all came down to one little sql query. Please read the explanations below, before applying the query to your database!</p><p><strong>AND BACK UP YOUR DATA FIRST !</strong></p><pre class="brush: sql; title: ; notranslate">
UPDATE
	node
SET
	comment = 0
WHERE
	type = &quot;my_content_type&quot;
</pre><p>The SET part</p><pre class="brush: sql; title: ; notranslate">
SET
	comment = 0
</pre><p>Means that all nodes will be set to &#8220;Comments disabled&#8221;. If you want &#8220;Read only&#8221; then replace the 0 with a 1. If you want &#8220;Read and Write&#8221; then use a 2 instead of the 0 here.</p><p>On the WHERE part you can specify for which content type you want to change the comment settings and possibly from what existing setting. The same logic as above applies : 0 for &#8220;Comments disabled&#8221;, 1 for &#8220;Read only&#8221; comments and 2 for &#8220;Read and Write&#8221;.</p><p>You need to replace the &#8220;my_content_type&#8221; with the machine readable name of the content type you want to change. You can find the name on the &#8220;Content Types&#8221; overview page.</p><p>For example</p><pre class="brush: sql; title: ; notranslate">
WHERE
	type = &quot;my_content_type&quot; AND
	comment = 2
</pre><p>Would only disable comments for all nodes of the type &#8220;my_content_type&#8221; which have the comment settings set to &#8220;Read and Write&#8221;.</p><p>With another WHERE argument this could also be used to disable comments or set the comments to read only on old posts.</p><p>Let me know in the comments if you have questions or suggestions.</p> ]]></content:encoded> <wfw:commentRss>http://runeforge.net/tutorial/bulk-update-comment-settings-on-existing-drupal-nodes/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Mimicking Vimeo.com using Drupal</title><link>http://runeforge.net/tutorial/mimicking-vimeo-com-using-drupal/</link> <comments>http://runeforge.net/tutorial/mimicking-vimeo-com-using-drupal/#comments</comments> <pubDate>Fri, 07 Jan 2011 19:16:12 +0000</pubDate> <dc:creator>Mario Albrecht</dc:creator> <category><![CDATA[Tutorial]]></category> <category><![CDATA[AdaptiveTheme]]></category> <category><![CDATA[CSS]]></category> <category><![CDATA[Design]]></category> <category><![CDATA[Drupal]]></category> <category><![CDATA[Embedded Media Field]]></category> <category><![CDATA[Quicktabs]]></category> <category><![CDATA[SC2.FM]]></category> <category><![CDATA[Semantic Views]]></category> <category><![CDATA[Views]]></category> <category><![CDATA[Vimeo.com]]></category><guid isPermaLink="false">http://runeforge.net/?p=149</guid> <description><![CDATA[In this tutorial we are using Drupal to create a website that looks and feels similar to vimeo.com.]]></description> <content:encoded><![CDATA[<h1>Preamble</h1><p>In this tutorial we are using Drupal to create a website that looks and feels similar to <a href="http://vimeo.com" target="_blank">vimeo.com</a>. I&#8217;ve done this for my project <a href="http://runeforge.net/project/sc2-fm/">SC2.FM</a></p><h3>What is Drupal?</h3><blockquote><p>Drupal is an is a is a free and open source content management system (CMS) written in PHP and distributed under the GNU General Public License. It is used as a back-end system for at least 1% of all websites worldwide ranging from personal blogs to corporate, political, and government sites including whitehouse.gov and data.gov.uk - <a href="http://en.drupal.org/wiki/Drupal">Wikipedia</a></p></blockquote><h3>What is Vimeo?</h3><blockquote><p>Vimeo is a respectful community of creative people who are passionate about sharing the videos they make. We provide the best tools and highest quality video in the universe. - <a href="http://vimeo.com">Vimeo.com</a></p></blockquote><h1>Requirements</h1><ul><li><a href="http://drupal.org/project/drupal" target="_blank">Drupal</a> 6.20 or higher</li><li><a href="http://drupal.org/project/adeptivetheme" target="_blank">AdeptiveTheme</a> 6.x 3.0-rc2</li><li><a href="http://drupal.org/project/quicktabs" target="_blank">QuickTabs</a> 6.x 2.0-rc4 ( rc5 is broken and will not work! )</li><li><a href="http://drupal.org/project/views" target="_blank">Views</a> 6.x 2.12</li><li><a href="http://drupal.org/project/cck" target="_blank">CCK</a> 6.x 2.9</li><li><a href="http://drupal.org/project/semanticviews" target="_blank">Semantic Views</a> 6.x 1.1</li><li><a href="http://drupal.org/project/emfield" target="_blank">EmField</a> 6.x 1.25</li><li><a href="http://drupal.org/project/token" target="_blank">Token</a> 6.x 1.15</li><li><a href="http://drupal.org/project/admin_menu" target="_blank">Admin Menu</a> 6.x 1.6 or 3.0-alpha 4</li></ul><h1>Setting up the site</h1><p>I won&#8217;t go through every step here. If you need help installing modules, please check the corresponding &#8220;Read documentation&#8221; links on the project pages i linked. They are in the right sidebar on the bottom.</p><h2>Step 1 &#8211; Install the modules mentioned above</h2><h2>Step 2 - Set up the video content type</h2><p>For our example we need a new content type that contains a emvideo field. Make sure the machine readable name is set to &#8220;feed_video_item&#8221;, else you might need some additional work once we import the main view for our homepage.</p><p>Add a field of the Embedded Video type with the machine readable name of &#8221;field_feed_video_video&#8221; to that content type.</p><h2>Step 3 &#8211; Create a AdeptiveTheme subtheme</h2><p>Download <a href="http://runeforge.net/wp-content/uploads/2011/01/at_sc2fm.zip" target="_blank">this</a> subtheme for AdeptiveTheme, upload it to your sites/default/themes folder , enable and set it to default. You should now see the first parts of our design! Make absolutely sure that your theme is in the /sites/default/themes folder and NOT in /sites/all/themes!</p><p>Once you are done with that, go to the subthemes theme configuration page and disable all points except &#8220;Shortcut icon&#8221; under the &#8220;Drupal core theme settings&#8221; tab.</p><h2>Step 4 &#8211; Import the View</h2><p>Import <a href="http://runeforge.net/wp-content/uploads/2011/01/video_mainview.txt" target="_blank">this</a> view.</p><pre class="brush: php; collapse: true; light: false; title: ; toolbar: true; notranslate">
$view = new view;
$view-&gt;name = 'video_frontpage';
$view-&gt;description = '';
$view-&gt;tag = '';
$view-&gt;view_php = '';
$view-&gt;base_table = 'node';
$view-&gt;is_cacheable = FALSE;
$view-&gt;api_version = 2;
$view-&gt;disabled = FALSE; /* Edit this to true to make a default view disabled initially */
$handler = $view-&gt;new_display('default', 'Defaults', 'default');
$handler-&gt;override_option('relationships', array(
  'feed_nid' =&gt; array(
    'label' =&gt; 'Owner feed',
    'required' =&gt; 0,
    'id' =&gt; 'feed_nid',
    'table' =&gt; 'feeds_node_item',
    'field' =&gt; 'feed_nid',
    'relationship' =&gt; 'none',
  ),
));
$handler-&gt;override_option('fields', array(
  'field_feed_video_video_embed' =&gt; array(
    'label' =&gt; '',
    'alter' =&gt; array(
      'alter_text' =&gt; 0,
      'text' =&gt; '',
      'make_link' =&gt; 0,
      'path' =&gt; '',
      'link_class' =&gt; '',
      'alt' =&gt; '',
      'prefix' =&gt; '',
      'suffix' =&gt; '',
      'target' =&gt; '',
      'help' =&gt; '',
      'trim' =&gt; 0,
      'max_length' =&gt; '',
      'word_boundary' =&gt; 1,
      'ellipsis' =&gt; 1,
      'html' =&gt; 0,
      'strip_tags' =&gt; 0,
    ),
    'empty' =&gt; '',
    'hide_empty' =&gt; 0,
    'empty_zero' =&gt; 0,
    'link_to_node' =&gt; 0,
    'label_type' =&gt; 'none',
    'format' =&gt; 'video_thumbnail_no_link',
    'multiple' =&gt; array(
      'group' =&gt; TRUE,
      'multiple_number' =&gt; '',
      'multiple_from' =&gt; '',
      'multiple_reversed' =&gt; FALSE,
    ),
    'exclude' =&gt; 1,
    'id' =&gt; 'field_feed_video_video_embed',
    'table' =&gt; 'node_data_field_feed_video_video',
    'field' =&gt; 'field_feed_video_video_embed',
    'relationship' =&gt; 'none',
    'override' =&gt; array(
      'button' =&gt; 'Override',
    ),
  ),
  'title' =&gt; array(
    'label' =&gt; 'Title',
    'alter' =&gt; array(
      'alter_text' =&gt; 0,
      'text' =&gt; '',
      'make_link' =&gt; 0,
      'path' =&gt; '',
      'link_class' =&gt; '',
      'alt' =&gt; '',
      'prefix' =&gt; '',
      'suffix' =&gt; '',
      'target' =&gt; '',
      'help' =&gt; '',
      'trim' =&gt; 0,
      'max_length' =&gt; '',
      'word_boundary' =&gt; 1,
      'ellipsis' =&gt; 1,
      'html' =&gt; 0,
      'strip_tags' =&gt; 0,
    ),
    'empty' =&gt; '',
    'hide_empty' =&gt; 0,
    'empty_zero' =&gt; 0,
    'link_to_node' =&gt; 0,
    'exclude' =&gt; 1,
    'id' =&gt; 'title',
    'table' =&gt; 'node',
    'field' =&gt; 'title',
    'relationship' =&gt; 'none',
    'override' =&gt; array(
      'button' =&gt; 'Override',
    ),
  ),
  'created' =&gt; array(
    'label' =&gt; 'Post date',
    'alter' =&gt; array(
      'alter_text' =&gt; 1,
      'text' =&gt; '[created] ago',
      'make_link' =&gt; 0,
      'path' =&gt; '',
      'link_class' =&gt; '',
      'alt' =&gt; '',
      'prefix' =&gt; '',
      'suffix' =&gt; '',
      'target' =&gt; '',
      'help' =&gt; '',
      'trim' =&gt; 0,
      'max_length' =&gt; '',
      'word_boundary' =&gt; 1,
      'ellipsis' =&gt; 1,
      'html' =&gt; 0,
      'strip_tags' =&gt; 0,
    ),
    'empty' =&gt; '',
    'hide_empty' =&gt; 0,
    'empty_zero' =&gt; 0,
    'date_format' =&gt; 'raw time ago',
    'custom_date_format' =&gt; '1',
    'exclude' =&gt; 1,
    'id' =&gt; 'created',
    'table' =&gt; 'node',
    'field' =&gt; 'created',
    'relationship' =&gt; 'none',
    'override' =&gt; array(
      'button' =&gt; 'Override',
    ),
  ),
  'path' =&gt; array(
    'label' =&gt; 'Path',
    'alter' =&gt; array(
      'alter_text' =&gt; 0,
      'text' =&gt; '',
      'make_link' =&gt; 0,
      'path' =&gt; '',
      'link_class' =&gt; '',
      'alt' =&gt; '',
      'prefix' =&gt; '',
      'suffix' =&gt; '',
      'target' =&gt; '',
      'help' =&gt; '',
      'trim' =&gt; 0,
      'max_length' =&gt; '',
      'word_boundary' =&gt; 1,
      'ellipsis' =&gt; 1,
      'html' =&gt; 0,
      'strip_tags' =&gt; 0,
    ),
    'empty' =&gt; '',
    'hide_empty' =&gt; 0,
    'empty_zero' =&gt; 0,
    'absolute' =&gt; 0,
    'exclude' =&gt; 1,
    'id' =&gt; 'path',
    'table' =&gt; 'node',
    'field' =&gt; 'path',
    'override' =&gt; array(
      'button' =&gt; 'Override',
    ),
    'relationship' =&gt; 'none',
  ),
  'comment_count' =&gt; array(
    'label' =&gt; 'Comment count',
    'alter' =&gt; array(
      'alter_text' =&gt; 0,
      'text' =&gt; '',
      'make_link' =&gt; 0,
      'path' =&gt; '',
      'link_class' =&gt; '',
      'alt' =&gt; '',
      'prefix' =&gt; '',
      'suffix' =&gt; '',
      'target' =&gt; '',
      'help' =&gt; '',
      'trim' =&gt; 0,
      'max_length' =&gt; '',
      'word_boundary' =&gt; 1,
      'ellipsis' =&gt; 1,
      'html' =&gt; 0,
      'strip_tags' =&gt; 0,
    ),
    'empty' =&gt; '',
    'hide_empty' =&gt; 0,
    'empty_zero' =&gt; 0,
    'set_precision' =&gt; FALSE,
    'precision' =&gt; 0,
    'decimal' =&gt; '.',
    'separator' =&gt; ',',
    'prefix' =&gt; '',
    'suffix' =&gt; '',
    'exclude' =&gt; 1,
    'id' =&gt; 'comment_count',
    'table' =&gt; 'node_comment_statistics',
    'field' =&gt; 'comment_count',
    'relationship' =&gt; 'none',
  ),
  'tid_list' =&gt; array(
    'label' =&gt; 'All term images',
    'alter' =&gt; array(
      'alter_text' =&gt; FALSE,
      'text' =&gt; '',
      'make_link' =&gt; FALSE,
      'path' =&gt; '',
      'alt' =&gt; '',
      'link_class' =&gt; '',
      'prefix' =&gt; '',
      'suffix' =&gt; '',
      'target' =&gt; '',
      'trim' =&gt; FALSE,
      'max_length' =&gt; '',
      'word_boundary' =&gt; TRUE,
      'ellipsis' =&gt; TRUE,
      'strip_tags' =&gt; FALSE,
      'html' =&gt; FALSE,
    ),
    'empty' =&gt; '',
    'hide_empty' =&gt; 0,
    'empty_zero' =&gt; 0,
    'type' =&gt; 'separator',
    'separator' =&gt; ', ',
    'imagecache_preset' =&gt; '',
    'link_to_taxonomy' =&gt; 0,
    'limit' =&gt; 1,
    'vids' =&gt; array(
      '1' =&gt; 1,
      '7' =&gt; 0,
      '8' =&gt; 0,
      '5' =&gt; 0,
    ),
    'exclude' =&gt; 1,
    'id' =&gt; 'tid_list',
    'table' =&gt; 'term_image',
    'field' =&gt; 'tid_list',
    'relationship' =&gt; 'none',
  ),
  'field_feed_video_description_value' =&gt; array(
    'label' =&gt; 'Description',
    'alter' =&gt; array(
      'alter_text' =&gt; 0,
      'text' =&gt; '',
      'make_link' =&gt; 0,
      'path' =&gt; '',
      'link_class' =&gt; '',
      'alt' =&gt; '',
      'prefix' =&gt; '',
      'suffix' =&gt; '',
      'target' =&gt; '',
      'help' =&gt; '',
      'trim' =&gt; 1,
      'max_length' =&gt; '110',
      'word_boundary' =&gt; 1,
      'ellipsis' =&gt; 1,
      'html' =&gt; 0,
      'strip_tags' =&gt; 1,
    ),
    'empty' =&gt; '',
    'hide_empty' =&gt; 0,
    'empty_zero' =&gt; 0,
    'link_to_node' =&gt; 0,
    'label_type' =&gt; 'widget',
    'format' =&gt; 'default',
    'multiple' =&gt; array(
      'group' =&gt; TRUE,
      'multiple_number' =&gt; '',
      'multiple_from' =&gt; '',
      'multiple_reversed' =&gt; FALSE,
    ),
    'exclude' =&gt; 1,
    'id' =&gt; 'field_feed_video_description_value',
    'table' =&gt; 'node_data_field_feed_video_description',
    'field' =&gt; 'field_feed_video_description_value',
    'relationship' =&gt; 'none',
    'override' =&gt; array(
      'button' =&gt; 'Override',
    ),
  ),
  'field_feed_video_video_duration' =&gt; array(
    'label' =&gt; 'Video',
    'alter' =&gt; array(
      'alter_text' =&gt; 0,
      'text' =&gt; '',
      'make_link' =&gt; 0,
      'path' =&gt; '',
      'link_class' =&gt; '',
      'alt' =&gt; '',
      'prefix' =&gt; '',
      'suffix' =&gt; '',
      'target' =&gt; '',
      'help' =&gt; '',
      'trim' =&gt; 0,
      'max_length' =&gt; '',
      'word_boundary' =&gt; 1,
      'ellipsis' =&gt; 1,
      'html' =&gt; 0,
      'strip_tags' =&gt; 0,
    ),
    'empty' =&gt; '',
    'hide_empty' =&gt; 0,
    'empty_zero' =&gt; 0,
    'link_to_node' =&gt; 0,
    'label_type' =&gt; 'widget',
    'format' =&gt; 'duration_time',
    'multiple' =&gt; array(
      'group' =&gt; TRUE,
      'multiple_number' =&gt; '',
      'multiple_from' =&gt; '',
      'multiple_reversed' =&gt; FALSE,
    ),
    'exclude' =&gt; 1,
    'id' =&gt; 'field_feed_video_video_duration',
    'table' =&gt; 'node_data_field_feed_video_video',
    'field' =&gt; 'field_feed_video_video_duration',
    'relationship' =&gt; 'none',
  ),
  'field_feed_video_views_value' =&gt; array(
    'label' =&gt; 'Views',
    'alter' =&gt; array(
      'alter_text' =&gt; 0,
      'text' =&gt; '',
      'make_link' =&gt; 0,
      'path' =&gt; '',
      'link_class' =&gt; '',
      'alt' =&gt; '',
      'prefix' =&gt; '',
      'suffix' =&gt; '',
      'target' =&gt; '',
      'help' =&gt; '',
      'trim' =&gt; 0,
      'max_length' =&gt; '',
      'word_boundary' =&gt; 1,
      'ellipsis' =&gt; 1,
      'html' =&gt; 0,
      'strip_tags' =&gt; 0,
    ),
    'empty' =&gt; '0',
    'hide_empty' =&gt; 0,
    'empty_zero' =&gt; 0,
    'link_to_node' =&gt; 0,
    'label_type' =&gt; 'widget',
    'format' =&gt; 'default',
    'multiple' =&gt; array(
      'group' =&gt; TRUE,
      'multiple_number' =&gt; '',
      'multiple_from' =&gt; '',
      'multiple_reversed' =&gt; FALSE,
    ),
    'exclude' =&gt; 1,
    'id' =&gt; 'field_feed_video_views_value',
    'table' =&gt; 'node_data_field_feed_video_views',
    'field' =&gt; 'field_feed_video_views_value',
    'relationship' =&gt; 'none',
  ),
  'nid' =&gt; array(
    'label' =&gt; 'Nid',
    'alter' =&gt; array(
      'alter_text' =&gt; 0,
      'text' =&gt; '',
      'make_link' =&gt; 0,
      'path' =&gt; '',
      'link_class' =&gt; '',
      'alt' =&gt; '',
      'prefix' =&gt; '',
      'suffix' =&gt; '',
      'target' =&gt; '',
      'help' =&gt; '',
      'trim' =&gt; 0,
      'max_length' =&gt; '',
      'word_boundary' =&gt; 1,
      'ellipsis' =&gt; 1,
      'html' =&gt; 0,
      'strip_tags' =&gt; 0,
    ),
    'empty' =&gt; '',
    'hide_empty' =&gt; 0,
    'empty_zero' =&gt; 0,
    'link_to_node' =&gt; 0,
    'exclude' =&gt; 1,
    'id' =&gt; 'nid',
    'table' =&gt; 'node',
    'field' =&gt; 'nid',
    'override' =&gt; array(
      'button' =&gt; 'Override',
    ),
    'relationship' =&gt; 'feed_nid',
  ),
  'title_1' =&gt; array(
    'label' =&gt; '',
    'alter' =&gt; array(
      'alter_text' =&gt; 0,
      'text' =&gt; '',
      'make_link' =&gt; 1,
      'path' =&gt; 'node/[nid]',
      'link_class' =&gt; '',
      'alt' =&gt; '',
      'prefix' =&gt; '',
      'suffix' =&gt; '',
      'target' =&gt; '',
      'help' =&gt; '',
      'trim' =&gt; 0,
      'max_length' =&gt; '',
      'word_boundary' =&gt; 1,
      'ellipsis' =&gt; 1,
      'html' =&gt; 0,
      'strip_tags' =&gt; 0,
    ),
    'empty' =&gt; '',
    'hide_empty' =&gt; 0,
    'empty_zero' =&gt; 0,
    'link_to_node' =&gt; 0,
    'exclude' =&gt; 1,
    'id' =&gt; 'title_1',
    'table' =&gt; 'node',
    'field' =&gt; 'title',
    'override' =&gt; array(
      'button' =&gt; 'Override',
    ),
    'relationship' =&gt; 'feed_nid',
  ),
  'nothing' =&gt; array(
    'label' =&gt; '',
    'alter' =&gt; array(
      'text' =&gt; '&lt;div&gt;
  &lt;a href=&quot;[path]&quot;&gt;&lt;img src=&quot;[field_feed_video_video_embed]&quot; width=&quot;125&quot; height=&quot;94&quot; alt=&quot;&quot;/&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;div&gt;
  &lt;h3&gt;&lt;a href=&quot;[path]&quot;&gt;[title]&lt;/a&gt;&lt;/h3&gt;
  &lt;div&gt;casted by [title_1] [created]&lt;/div&gt;
  &lt;div&gt;[field_feed_video_description_value]&lt;/div&gt;
  &lt;div&gt;[tid_list] | &lt;strong&gt;[field_feed_video_views_value]&lt;/strong&gt; views | &lt;strong&gt;[field_feed_video_video_duration]&lt;/strong&gt; min | &lt;strong&gt;[comment_count]&lt;/strong&gt; comments&lt;/div&gt;
&lt;/div&gt;',
      'make_link' =&gt; 0,
      'path' =&gt; '',
      'link_class' =&gt; '',
      'alt' =&gt; '',
      'prefix' =&gt; '',
      'suffix' =&gt; '',
      'target' =&gt; '',
      'help' =&gt; '',
      'trim' =&gt; 0,
      'max_length' =&gt; '',
      'word_boundary' =&gt; 1,
      'ellipsis' =&gt; 1,
      'html' =&gt; 0,
      'strip_tags' =&gt; 0,
    ),
    'empty' =&gt; '',
    'hide_empty' =&gt; 0,
    'empty_zero' =&gt; 0,
    'exclude' =&gt; 0,
    'id' =&gt; 'nothing',
    'table' =&gt; 'views',
    'field' =&gt; 'nothing',
    'relationship' =&gt; 'none',
    'override' =&gt; array(
      'button' =&gt; 'Override',
    ),
  ),
));
$handler-&gt;override_option('filters', array(
  'type' =&gt; array(
    'operator' =&gt; 'in',
    'value' =&gt; array(
      'feed_video_item' =&gt; 'feed_video_item',
    ),
    'group' =&gt; '0',
    'exposed' =&gt; FALSE,
    'expose' =&gt; array(
      'operator' =&gt; 'type_op',
      'label' =&gt; 'Node: Type',
      'use_operator' =&gt; 0,
      'identifier' =&gt; 'type',
      'bef_filter_description' =&gt; '',
      'bef_format' =&gt; 'default',
      'optional' =&gt; 1,
      'single' =&gt; 1,
      'remember' =&gt; 0,
      'reduce' =&gt; 0,
      'bef_select_all_none' =&gt; 1,
    ),
    'id' =&gt; 'type',
    'table' =&gt; 'node',
    'field' =&gt; 'type',
    'relationship' =&gt; 'none',
    'override' =&gt; array(
      'button' =&gt; 'Override',
    ),
  ),
  'title' =&gt; array(
    'operator' =&gt; 'not',
    'value' =&gt; 'Procaster',
    'group' =&gt; '0',
    'exposed' =&gt; FALSE,
    'expose' =&gt; array(
      'operator' =&gt; FALSE,
      'label' =&gt; '',
    ),
    'case' =&gt; 0,
    'id' =&gt; 'title',
    'table' =&gt; 'node',
    'field' =&gt; 'title',
    'relationship' =&gt; 'none',
  ),
  'title_1' =&gt; array(
    'operator' =&gt; 'not',
    'value' =&gt; 'Live Show [livestream]',
    'group' =&gt; '0',
    'exposed' =&gt; FALSE,
    'expose' =&gt; array(
      'operator' =&gt; FALSE,
      'label' =&gt; '',
    ),
    'case' =&gt; 0,
    'id' =&gt; 'title_1',
    'table' =&gt; 'node',
    'field' =&gt; 'title',
    'relationship' =&gt; 'none',
  ),
));
$handler-&gt;override_option('access', array(
  'type' =&gt; 'none',
));
$handler-&gt;override_option('cache', array(
  'type' =&gt; 'time',
  'results_lifespan' =&gt; '300',
  'output_lifespan' =&gt; '300',
));
$handler-&gt;override_option('css_class', 'videos');
$handler-&gt;override_option('header_format', '2');
$handler-&gt;override_option('header_empty', 0);
$handler-&gt;override_option('footer_format', '2');
$handler-&gt;override_option('footer_empty', 0);
$handler-&gt;override_option('use_ajax', TRUE);
$handler-&gt;override_option('items_per_page', 8);
$handler-&gt;override_option('offset', 1);
$handler-&gt;override_option('use_pager', '1');
$handler-&gt;override_option('use_more', 0);
$handler-&gt;override_option('use_more_always', 0);
$handler-&gt;override_option('style_plugin', 'semanticviews_default');
$handler-&gt;override_option('style_options', array(
  'grouping' =&gt; '',
  'group' =&gt; array(
    'element_type' =&gt; 'h3',
    'class' =&gt; 'title',
  ),
  'list' =&gt; array(
    'element_type' =&gt; 'ul',
    'class' =&gt; 'videos',
  ),
  'row' =&gt; array(
    'element_type' =&gt; 'li',
    'class' =&gt; '',
    'last_every_nth' =&gt; '0',
    'first_class' =&gt; 'first',
    'last_class' =&gt; '',
    'striping_classes' =&gt; '',
  ),
));
$handler-&gt;override_option('row_plugin', 'semanticviews_fields');
$handler-&gt;override_option('row_options', array(
  'semantic_html' =&gt; array(
    'nothing' =&gt; array(
      'element_type' =&gt; '',
      'class' =&gt; '',
    ),
  ),
  'skip_blank' =&gt; 0,
));
$handler = $view-&gt;new_display('block', 'Today - New', 'block_1');
$handler-&gt;override_option('sorts', array(
  'created' =&gt; array(
    'order' =&gt; 'DESC',
    'granularity' =&gt; 'second',
    'id' =&gt; 'created',
    'table' =&gt; 'node',
    'field' =&gt; 'created',
    'override' =&gt; array(
      'button' =&gt; 'Use default',
    ),
    'relationship' =&gt; 'none',
  ),
));
$handler-&gt;override_option('filters', array(
  'created' =&gt; array(
    'operator' =&gt; '&gt;=',
    'value' =&gt; array(
      'type' =&gt; 'offset',
      'value' =&gt; '-1 day',
      'min' =&gt; '',
      'max' =&gt; '',
    ),
    'group' =&gt; '0',
    'exposed' =&gt; FALSE,
    'expose' =&gt; array(
      'operator' =&gt; FALSE,
      'label' =&gt; '',
    ),
    'id' =&gt; 'created',
    'table' =&gt; 'node',
    'field' =&gt; 'created',
    'override' =&gt; array(
      'button' =&gt; 'Use default',
    ),
    'relationship' =&gt; 'none',
  ),
  'type' =&gt; array(
    'operator' =&gt; 'in',
    'value' =&gt; array(
      'feed_video_item' =&gt; 'feed_video_item',
    ),
    'group' =&gt; '0',
    'exposed' =&gt; FALSE,
    'expose' =&gt; array(
      'operator' =&gt; 'type_op',
      'label' =&gt; 'Node: Type',
      'use_operator' =&gt; 0,
      'identifier' =&gt; 'type',
      'bef_filter_description' =&gt; '',
      'bef_format' =&gt; 'default',
      'optional' =&gt; 1,
      'single' =&gt; 1,
      'remember' =&gt; 0,
      'reduce' =&gt; 0,
      'bef_select_all_none' =&gt; 1,
    ),
    'id' =&gt; 'type',
    'table' =&gt; 'node',
    'field' =&gt; 'type',
    'relationship' =&gt; 'none',
    'override' =&gt; array(
      'button' =&gt; 'Override',
    ),
  ),
  'title' =&gt; array(
    'operator' =&gt; 'not',
    'value' =&gt; 'Procaster',
    'group' =&gt; '0',
    'exposed' =&gt; FALSE,
    'expose' =&gt; array(
      'operator' =&gt; FALSE,
      'label' =&gt; '',
    ),
    'case' =&gt; 0,
    'id' =&gt; 'title',
    'table' =&gt; 'node',
    'field' =&gt; 'title',
    'relationship' =&gt; 'none',
  ),
  'title_1' =&gt; array(
    'operator' =&gt; 'not',
    'value' =&gt; 'Live Show [livestream]',
    'group' =&gt; '0',
    'exposed' =&gt; FALSE,
    'expose' =&gt; array(
      'operator' =&gt; FALSE,
      'label' =&gt; '',
    ),
    'case' =&gt; 0,
    'id' =&gt; 'title_1',
    'table' =&gt; 'node',
    'field' =&gt; 'title',
    'override' =&gt; array(
      'button' =&gt; 'Use default',
    ),
    'relationship' =&gt; 'none',
  ),
));
$handler-&gt;override_option('block_description', '');
$handler-&gt;override_option('block_caching', -1);
$handler = $view-&gt;new_display('block', 'This week - Most Views', 'block_2');
$handler-&gt;override_option('sorts', array(
  'field_feed_video_views_value' =&gt; array(
    'order' =&gt; 'DESC',
    'delta' =&gt; -1,
    'id' =&gt; 'field_feed_video_views_value',
    'table' =&gt; 'node_data_field_feed_video_views',
    'field' =&gt; 'field_feed_video_views_value',
    'override' =&gt; array(
      'button' =&gt; 'Use default',
    ),
    'relationship' =&gt; 'none',
  ),
));
$handler-&gt;override_option('filters', array(
  'created' =&gt; array(
    'operator' =&gt; '&gt;=',
    'value' =&gt; array(
      'type' =&gt; 'offset',
      'value' =&gt; '-7 day',
      'min' =&gt; '',
      'max' =&gt; '',
    ),
    'group' =&gt; '0',
    'exposed' =&gt; FALSE,
    'expose' =&gt; array(
      'operator' =&gt; FALSE,
      'label' =&gt; '',
    ),
    'id' =&gt; 'created',
    'table' =&gt; 'node',
    'field' =&gt; 'created',
    'override' =&gt; array(
      'button' =&gt; 'Use default',
    ),
    'relationship' =&gt; 'none',
  ),
  'type' =&gt; array(
    'operator' =&gt; 'in',
    'value' =&gt; array(
      'feed_video_item' =&gt; 'feed_video_item',
    ),
    'group' =&gt; '0',
    'exposed' =&gt; FALSE,
    'expose' =&gt; array(
      'operator' =&gt; 'type_op',
      'label' =&gt; 'Node: Type',
      'use_operator' =&gt; 0,
      'identifier' =&gt; 'type',
      'bef_filter_description' =&gt; '',
      'bef_format' =&gt; 'default',
      'optional' =&gt; 1,
      'single' =&gt; 1,
      'remember' =&gt; 0,
      'reduce' =&gt; 0,
      'bef_select_all_none' =&gt; 1,
    ),
    'id' =&gt; 'type',
    'table' =&gt; 'node',
    'field' =&gt; 'type',
    'relationship' =&gt; 'none',
    'override' =&gt; array(
      'button' =&gt; 'Override',
    ),
  ),
  'title' =&gt; array(
    'operator' =&gt; 'not',
    'value' =&gt; 'Procaster',
    'group' =&gt; '0',
    'exposed' =&gt; FALSE,
    'expose' =&gt; array(
      'operator' =&gt; FALSE,
      'label' =&gt; '',
    ),
    'case' =&gt; 0,
    'id' =&gt; 'title',
    'table' =&gt; 'node',
    'field' =&gt; 'title',
    'relationship' =&gt; 'none',
  ),
  'title_1' =&gt; array(
    'operator' =&gt; 'not',
    'value' =&gt; 'Live Show [livestream]',
    'group' =&gt; '0',
    'exposed' =&gt; FALSE,
    'expose' =&gt; array(
      'operator' =&gt; FALSE,
      'label' =&gt; '',
    ),
    'case' =&gt; 0,
    'id' =&gt; 'title_1',
    'table' =&gt; 'node',
    'field' =&gt; 'title',
    'override' =&gt; array(
      'button' =&gt; 'Use default',
    ),
    'relationship' =&gt; 'none',
  ),
));
$handler-&gt;override_option('block_description', '');
$handler-&gt;override_option('block_caching', -1);
$handler = $view-&gt;new_display('attachment', 'Today - Top', 'attachment_1');
$handler-&gt;override_option('fields', array(
  'field_feed_video_video_embed' =&gt; array(
    'label' =&gt; '',
    'alter' =&gt; array(
      'alter_text' =&gt; 0,
      'text' =&gt; '',
      'make_link' =&gt; 0,
      'path' =&gt; '',
      'link_class' =&gt; '',
      'alt' =&gt; '',
      'prefix' =&gt; '',
      'suffix' =&gt; '',
      'target' =&gt; '',
      'help' =&gt; '',
      'trim' =&gt; 0,
      'max_length' =&gt; '',
      'word_boundary' =&gt; 1,
      'ellipsis' =&gt; 1,
      'html' =&gt; 0,
      'strip_tags' =&gt; 0,
    ),
    'empty' =&gt; '',
    'hide_empty' =&gt; 0,
    'empty_zero' =&gt; 0,
    'link_to_node' =&gt; 0,
    'label_type' =&gt; 'none',
    'format' =&gt; 'video_preview',
    'multiple' =&gt; array(
      'group' =&gt; TRUE,
      'multiple_number' =&gt; '',
      'multiple_from' =&gt; '',
      'multiple_reversed' =&gt; FALSE,
    ),
    'exclude' =&gt; 1,
    'id' =&gt; 'field_feed_video_video_embed',
    'table' =&gt; 'node_data_field_feed_video_video',
    'field' =&gt; 'field_feed_video_video_embed',
    'relationship' =&gt; 'none',
    'override' =&gt; array(
      'button' =&gt; 'Use default',
    ),
  ),
  'title' =&gt; array(
    'label' =&gt; 'Title',
    'alter' =&gt; array(
      'alter_text' =&gt; 0,
      'text' =&gt; '',
      'make_link' =&gt; 0,
      'path' =&gt; '',
      'link_class' =&gt; '',
      'alt' =&gt; '',
      'prefix' =&gt; '',
      'suffix' =&gt; '',
      'target' =&gt; '',
      'help' =&gt; '',
      'trim' =&gt; 0,
      'max_length' =&gt; '',
      'word_boundary' =&gt; 1,
      'ellipsis' =&gt; 1,
      'html' =&gt; 0,
      'strip_tags' =&gt; 0,
    ),
    'empty' =&gt; '',
    'hide_empty' =&gt; 0,
    'empty_zero' =&gt; 0,
    'link_to_node' =&gt; 0,
    'exclude' =&gt; 1,
    'id' =&gt; 'title',
    'table' =&gt; 'node',
    'field' =&gt; 'title',
    'relationship' =&gt; 'none',
    'override' =&gt; array(
      'button' =&gt; 'Override',
    ),
  ),
  'created' =&gt; array(
    'label' =&gt; 'Post date',
    'alter' =&gt; array(
      'alter_text' =&gt; 1,
      'text' =&gt; '[created] ago',
      'make_link' =&gt; 0,
      'path' =&gt; '',
      'link_class' =&gt; '',
      'alt' =&gt; '',
      'prefix' =&gt; '',
      'suffix' =&gt; '',
      'target' =&gt; '',
      'help' =&gt; '',
      'trim' =&gt; 0,
      'max_length' =&gt; '',
      'word_boundary' =&gt; 1,
      'ellipsis' =&gt; 1,
      'html' =&gt; 0,
      'strip_tags' =&gt; 0,
    ),
    'empty' =&gt; '',
    'hide_empty' =&gt; 0,
    'empty_zero' =&gt; 0,
    'date_format' =&gt; 'raw time ago',
    'custom_date_format' =&gt; '1',
    'exclude' =&gt; 1,
    'id' =&gt; 'created',
    'table' =&gt; 'node',
    'field' =&gt; 'created',
    'relationship' =&gt; 'none',
    'override' =&gt; array(
      'button' =&gt; 'Use default',
    ),
  ),
  'path' =&gt; array(
    'label' =&gt; 'Path',
    'alter' =&gt; array(
      'alter_text' =&gt; 0,
      'text' =&gt; '',
      'make_link' =&gt; 0,
      'path' =&gt; '',
      'link_class' =&gt; '',
      'alt' =&gt; '',
      'prefix' =&gt; '',
      'suffix' =&gt; '',
      'target' =&gt; '',
      'help' =&gt; '',
      'trim' =&gt; 0,
      'max_length' =&gt; '',
      'word_boundary' =&gt; 1,
      'ellipsis' =&gt; 1,
      'html' =&gt; 0,
      'strip_tags' =&gt; 0,
    ),
    'empty' =&gt; '',
    'hide_empty' =&gt; 0,
    'empty_zero' =&gt; 0,
    'absolute' =&gt; 0,
    'exclude' =&gt; 1,
    'id' =&gt; 'path',
    'table' =&gt; 'node',
    'field' =&gt; 'path',
    'override' =&gt; array(
      'button' =&gt; 'Override',
    ),
    'relationship' =&gt; 'none',
  ),
  'tid_list' =&gt; array(
    'label' =&gt; 'All term images',
    'alter' =&gt; array(
      'alter_text' =&gt; FALSE,
      'text' =&gt; '',
      'make_link' =&gt; FALSE,
      'path' =&gt; '',
      'alt' =&gt; '',
      'link_class' =&gt; '',
      'prefix' =&gt; '',
      'suffix' =&gt; '',
      'target' =&gt; '',
      'trim' =&gt; FALSE,
      'max_length' =&gt; '',
      'word_boundary' =&gt; TRUE,
      'ellipsis' =&gt; TRUE,
      'strip_tags' =&gt; FALSE,
      'html' =&gt; FALSE,
    ),
    'empty' =&gt; '',
    'hide_empty' =&gt; 0,
    'empty_zero' =&gt; 0,
    'type' =&gt; 'separator',
    'separator' =&gt; ', ',
    'imagecache_preset' =&gt; '',
    'link_to_taxonomy' =&gt; 0,
    'limit' =&gt; 1,
    'vids' =&gt; array(
      '1' =&gt; 1,
      '7' =&gt; 0,
      '8' =&gt; 0,
      '5' =&gt; 0,
    ),
    'exclude' =&gt; 1,
    'id' =&gt; 'tid_list',
    'table' =&gt; 'term_image',
    'field' =&gt; 'tid_list',
    'override' =&gt; array(
      'button' =&gt; 'Use default',
    ),
    'relationship' =&gt; 'none',
  ),
  'comment_count' =&gt; array(
    'label' =&gt; 'Comment count',
    'alter' =&gt; array(
      'alter_text' =&gt; 0,
      'text' =&gt; '',
      'make_link' =&gt; 0,
      'path' =&gt; '',
      'link_class' =&gt; '',
      'alt' =&gt; '',
      'prefix' =&gt; '',
      'suffix' =&gt; '',
      'target' =&gt; '',
      'help' =&gt; '',
      'trim' =&gt; 0,
      'max_length' =&gt; '',
      'word_boundary' =&gt; 1,
      'ellipsis' =&gt; 1,
      'html' =&gt; 0,
      'strip_tags' =&gt; 0,
    ),
    'empty' =&gt; '',
    'hide_empty' =&gt; 0,
    'empty_zero' =&gt; 0,
    'set_precision' =&gt; FALSE,
    'precision' =&gt; 0,
    'decimal' =&gt; '.',
    'separator' =&gt; ',',
    'prefix' =&gt; '',
    'suffix' =&gt; '',
    'exclude' =&gt; 1,
    'id' =&gt; 'comment_count',
    'table' =&gt; 'node_comment_statistics',
    'field' =&gt; 'comment_count',
    'relationship' =&gt; 'none',
  ),
  'field_feed_video_description_value' =&gt; array(
    'label' =&gt; 'Description',
    'alter' =&gt; array(
      'alter_text' =&gt; 0,
      'text' =&gt; '',
      'make_link' =&gt; 0,
      'path' =&gt; '',
      'link_class' =&gt; '',
      'alt' =&gt; '',
      'prefix' =&gt; '',
      'suffix' =&gt; '',
      'target' =&gt; '',
      'help' =&gt; '',
      'trim' =&gt; 1,
      'max_length' =&gt; '130',
      'word_boundary' =&gt; 1,
      'ellipsis' =&gt; 1,
      'html' =&gt; 0,
      'strip_tags' =&gt; 1,
    ),
    'empty' =&gt; '',
    'hide_empty' =&gt; 0,
    'empty_zero' =&gt; 0,
    'link_to_node' =&gt; 0,
    'label_type' =&gt; 'widget',
    'format' =&gt; 'default',
    'multiple' =&gt; array(
      'group' =&gt; TRUE,
      'multiple_number' =&gt; '',
      'multiple_from' =&gt; '',
      'multiple_reversed' =&gt; FALSE,
    ),
    'exclude' =&gt; 1,
    'id' =&gt; 'field_feed_video_description_value',
    'table' =&gt; 'node_data_field_feed_video_description',
    'field' =&gt; 'field_feed_video_description_value',
    'relationship' =&gt; 'none',
    'override' =&gt; array(
      'button' =&gt; 'Override',
    ),
  ),
  'field_feed_video_video_duration' =&gt; array(
    'label' =&gt; 'Video',
    'alter' =&gt; array(
      'alter_text' =&gt; 0,
      'text' =&gt; '',
      'make_link' =&gt; 0,
      'path' =&gt; '',
      'link_class' =&gt; '',
      'alt' =&gt; '',
      'prefix' =&gt; '',
      'suffix' =&gt; '',
      'target' =&gt; '',
      'help' =&gt; '',
      'trim' =&gt; 0,
      'max_length' =&gt; '',
      'word_boundary' =&gt; 1,
      'ellipsis' =&gt; 1,
      'html' =&gt; 0,
      'strip_tags' =&gt; 0,
    ),
    'empty' =&gt; '',
    'hide_empty' =&gt; 0,
    'empty_zero' =&gt; 0,
    'link_to_node' =&gt; 0,
    'label_type' =&gt; 'widget',
    'format' =&gt; 'duration_time',
    'multiple' =&gt; array(
      'group' =&gt; TRUE,
      'multiple_number' =&gt; '',
      'multiple_from' =&gt; '',
      'multiple_reversed' =&gt; FALSE,
    ),
    'exclude' =&gt; 1,
    'id' =&gt; 'field_feed_video_video_duration',
    'table' =&gt; 'node_data_field_feed_video_video',
    'field' =&gt; 'field_feed_video_video_duration',
    'relationship' =&gt; 'none',
  ),
  'field_feed_video_views_value' =&gt; array(
    'label' =&gt; 'Views',
    'alter' =&gt; array(
      'alter_text' =&gt; 0,
      'text' =&gt; '',
      'make_link' =&gt; 0,
      'path' =&gt; '',
      'link_class' =&gt; '',
      'alt' =&gt; '',
      'prefix' =&gt; '',
      'suffix' =&gt; '',
      'target' =&gt; '',
      'help' =&gt; '',
      'trim' =&gt; 0,
      'max_length' =&gt; '',
      'word_boundary' =&gt; 1,
      'ellipsis' =&gt; 1,
      'html' =&gt; 0,
      'strip_tags' =&gt; 0,
    ),
    'empty' =&gt; '0',
    'hide_empty' =&gt; 0,
    'empty_zero' =&gt; 0,
    'link_to_node' =&gt; 0,
    'label_type' =&gt; 'widget',
    'format' =&gt; 'default',
    'multiple' =&gt; array(
      'group' =&gt; TRUE,
      'multiple_number' =&gt; '',
      'multiple_from' =&gt; '',
      'multiple_reversed' =&gt; FALSE,
    ),
    'exclude' =&gt; 1,
    'id' =&gt; 'field_feed_video_views_value',
    'table' =&gt; 'node_data_field_feed_video_views',
    'field' =&gt; 'field_feed_video_views_value',
    'relationship' =&gt; 'none',
    'override' =&gt; array(
      'button' =&gt; 'Use default',
    ),
  ),
  'nid' =&gt; array(
    'label' =&gt; 'Nid',
    'alter' =&gt; array(
      'alter_text' =&gt; 0,
      'text' =&gt; '',
      'make_link' =&gt; 0,
      'path' =&gt; '',
      'link_class' =&gt; '',
      'alt' =&gt; '',
      'prefix' =&gt; '',
      'suffix' =&gt; '',
      'target' =&gt; '',
      'help' =&gt; '',
      'trim' =&gt; 0,
      'max_length' =&gt; '',
      'word_boundary' =&gt; 1,
      'ellipsis' =&gt; 1,
      'html' =&gt; 0,
      'strip_tags' =&gt; 0,
    ),
    'empty' =&gt; '',
    'hide_empty' =&gt; 0,
    'empty_zero' =&gt; 0,
    'link_to_node' =&gt; 0,
    'exclude' =&gt; 1,
    'id' =&gt; 'nid',
    'table' =&gt; 'node',
    'field' =&gt; 'nid',
    'override' =&gt; array(
      'button' =&gt; 'Override',
    ),
    'relationship' =&gt; 'feed_nid',
  ),
  'title_1' =&gt; array(
    'label' =&gt; '',
    'alter' =&gt; array(
      'alter_text' =&gt; 0,
      'text' =&gt; '',
      'make_link' =&gt; 1,
      'path' =&gt; 'node/[nid]',
      'link_class' =&gt; '',
      'alt' =&gt; '',
      'prefix' =&gt; '',
      'suffix' =&gt; '',
      'target' =&gt; '',
      'help' =&gt; '',
      'trim' =&gt; 0,
      'max_length' =&gt; '',
      'word_boundary' =&gt; 1,
      'ellipsis' =&gt; 1,
      'html' =&gt; 0,
      'strip_tags' =&gt; 0,
    ),
    'empty' =&gt; '',
    'hide_empty' =&gt; 0,
    'empty_zero' =&gt; 0,
    'link_to_node' =&gt; 0,
    'exclude' =&gt; 1,
    'id' =&gt; 'title_1',
    'table' =&gt; 'node',
    'field' =&gt; 'title',
    'override' =&gt; array(
      'button' =&gt; 'Override',
    ),
    'relationship' =&gt; 'feed_nid',
  ),
  'nothing' =&gt; array(
    'label' =&gt; '',
    'alter' =&gt; array(
      'text' =&gt; '&lt;h2&gt;&lt;a href=&quot;[path]&quot;&gt;[title]&lt;/a&gt;&lt;/h2&gt;
&lt;div&gt;casted by [title_1] [created]&lt;/div&gt;
&lt;div&gt;[field_feed_video_video_embed]&lt;/div&gt;
&lt;div&gt;[tid_list] | &lt;strong&gt;[field_feed_video_views_value]&lt;/strong&gt; views | &lt;strong&gt;[field_feed_video_video_duration]&lt;/strong&gt; min | &lt;strong&gt;[comment_count]&lt;/strong&gt; comments&lt;/div&gt;',
      'make_link' =&gt; 0,
      'path' =&gt; '',
      'link_class' =&gt; '',
      'alt' =&gt; '',
      'prefix' =&gt; '',
      'suffix' =&gt; '',
      'target' =&gt; '',
      'help' =&gt; '',
      'trim' =&gt; 0,
      'max_length' =&gt; '',
      'word_boundary' =&gt; 1,
      'ellipsis' =&gt; 1,
      'html' =&gt; 0,
      'strip_tags' =&gt; 0,
    ),
    'empty' =&gt; '',
    'hide_empty' =&gt; 0,
    'empty_zero' =&gt; 0,
    'exclude' =&gt; 0,
    'id' =&gt; 'nothing',
    'table' =&gt; 'views',
    'field' =&gt; 'nothing',
    'relationship' =&gt; 'none',
    'override' =&gt; array(
      'button' =&gt; 'Use default',
    ),
  ),
));
$handler-&gt;override_option('sorts', array(
  'created' =&gt; array(
    'order' =&gt; 'DESC',
    'granularity' =&gt; 'second',
    'id' =&gt; 'created',
    'table' =&gt; 'node',
    'field' =&gt; 'created',
    'override' =&gt; array(
      'button' =&gt; 'Use default',
    ),
    'relationship' =&gt; 'none',
  ),
));
$handler-&gt;override_option('arguments', array(
  'null' =&gt; array(
    'default_action' =&gt; 'default',
    'style_plugin' =&gt; 'default_summary',
    'style_options' =&gt; array(),
    'wildcard' =&gt; 'all',
    'wildcard_substitution' =&gt; 'All',
    'title' =&gt; '',
    'breadcrumb' =&gt; '',
    'default_argument_type' =&gt; 'fixed',
    'default_argument' =&gt; '',
    'validate_type' =&gt; 'php',
    'validate_fail' =&gt; 'ignore',
    'must_not_be' =&gt; 0,
    'id' =&gt; 'null',
    'table' =&gt; 'views',
    'field' =&gt; 'null',
    'validate_user_argument_type' =&gt; 'uid',
    'validate_user_roles' =&gt; array(
      '2' =&gt; 0,
    ),
    'override' =&gt; array(
      'button' =&gt; 'Use default',
    ),
    'relationship' =&gt; 'none',
    'default_options_div_prefix' =&gt; '',
    'default_argument_fixed' =&gt; 'test',
    'default_argument_user' =&gt; 0,
    'default_argument_php' =&gt; '',
    'validate_argument_node_type' =&gt; array(
      'forum' =&gt; 0,
      'feed' =&gt; 0,
      'feed_item' =&gt; 0,
      'feed_video' =&gt; 0,
      'feed_video_item' =&gt; 0,
      'page' =&gt; 0,
    ),
    'validate_argument_node_access' =&gt; 0,
    'validate_argument_nid_type' =&gt; 'nid',
    'validate_argument_vocabulary' =&gt; array(
      '7' =&gt; 0,
      '1' =&gt; 0,
      '8' =&gt; 0,
      '5' =&gt; 0,
    ),
    'validate_argument_type' =&gt; 'tid',
    'validate_argument_transform' =&gt; 0,
    'validate_user_restrict_roles' =&gt; 0,
    'validate_argument_node_flag_name' =&gt; '*relationship*',
    'validate_argument_node_flag_test' =&gt; 'flaggable',
    'validate_argument_node_flag_id_type' =&gt; 'id',
    'validate_argument_user_flag_name' =&gt; '*relationship*',
    'validate_argument_user_flag_test' =&gt; 'flaggable',
    'validate_argument_user_flag_id_type' =&gt; 'id',
    'validate_argument_php' =&gt; 'return true;
// return $view-&gt;pager-&gt;current_page == 0;',
  ),
));
$handler-&gt;override_option('filters', array(
  'created' =&gt; array(
    'operator' =&gt; '&gt;=',
    'value' =&gt; array(
      'type' =&gt; 'offset',
      'value' =&gt; '-1 day',
      'min' =&gt; '',
      'max' =&gt; '',
    ),
    'group' =&gt; '0',
    'exposed' =&gt; FALSE,
    'expose' =&gt; array(
      'operator' =&gt; FALSE,
      'label' =&gt; '',
    ),
    'id' =&gt; 'created',
    'table' =&gt; 'node',
    'field' =&gt; 'created',
    'override' =&gt; array(
      'button' =&gt; 'Use default',
    ),
    'relationship' =&gt; 'none',
  ),
  'type' =&gt; array(
    'operator' =&gt; 'in',
    'value' =&gt; array(
      'feed_video_item' =&gt; 'feed_video_item',
    ),
    'group' =&gt; '0',
    'exposed' =&gt; FALSE,
    'expose' =&gt; array(
      'operator' =&gt; 'type_op',
      'label' =&gt; 'Node: Type',
      'use_operator' =&gt; 0,
      'identifier' =&gt; 'type',
      'bef_filter_description' =&gt; '',
      'bef_format' =&gt; 'default',
      'optional' =&gt; 1,
      'single' =&gt; 1,
      'remember' =&gt; 0,
      'reduce' =&gt; 0,
      'bef_select_all_none' =&gt; 1,
    ),
    'id' =&gt; 'type',
    'table' =&gt; 'node',
    'field' =&gt; 'type',
    'relationship' =&gt; 'none',
    'override' =&gt; array(
      'button' =&gt; 'Override',
    ),
  ),
  'title' =&gt; array(
    'operator' =&gt; 'not',
    'value' =&gt; 'Procaster',
    'group' =&gt; '0',
    'exposed' =&gt; FALSE,
    'expose' =&gt; array(
      'operator' =&gt; FALSE,
      'label' =&gt; '',
    ),
    'case' =&gt; 0,
    'id' =&gt; 'title',
    'table' =&gt; 'node',
    'field' =&gt; 'title',
    'relationship' =&gt; 'none',
  ),
  'title_1' =&gt; array(
    'operator' =&gt; 'not',
    'value' =&gt; 'Live Show [livestream]',
    'group' =&gt; '0',
    'exposed' =&gt; FALSE,
    'expose' =&gt; array(
      'operator' =&gt; FALSE,
      'label' =&gt; '',
    ),
    'case' =&gt; 0,
    'id' =&gt; 'title_1',
    'table' =&gt; 'node',
    'field' =&gt; 'title',
    'override' =&gt; array(
      'button' =&gt; 'Use default',
    ),
    'relationship' =&gt; 'none',
  ),
));
$handler-&gt;override_option('use_ajax', FALSE);
$handler-&gt;override_option('items_per_page', 1);
$handler-&gt;override_option('offset', 0);
$handler-&gt;override_option('style_options', array(
  'grouping' =&gt; '',
  'group' =&gt; array(
    'element_type' =&gt; 'h3',
    'class' =&gt; 'title',
  ),
  'list' =&gt; array(
    'element_type' =&gt; '',
    'class' =&gt; '',
  ),
  'row' =&gt; array(
    'element_type' =&gt; 'div',
    'class' =&gt; 'video-top',
    'last_every_nth' =&gt; '0',
    'first_class' =&gt; '',
    'last_class' =&gt; '',
    'striping_classes' =&gt; '',
  ),
));
$handler-&gt;override_option('attachment_position', 'before');
$handler-&gt;override_option('inherit_arguments', TRUE);
$handler-&gt;override_option('inherit_exposed_filters', FALSE);
$handler-&gt;override_option('inherit_pager', 0);
$handler-&gt;override_option('render_pager', 1);
$handler-&gt;override_option('displays', array(
  'block_1' =&gt; 'block_1',
  'default' =&gt; 0,
  'block_2' =&gt; 0,
));
$handler = $view-&gt;new_display('attachment', 'This week - Top', 'attachment_2');
$handler-&gt;override_option('fields', array(
  'field_feed_video_video_embed' =&gt; array(
    'label' =&gt; '',
    'alter' =&gt; array(
      'alter_text' =&gt; 0,
      'text' =&gt; '',
      'make_link' =&gt; 0,
      'path' =&gt; '',
      'link_class' =&gt; '',
      'alt' =&gt; '',
      'prefix' =&gt; '',
      'suffix' =&gt; '',
      'target' =&gt; '',
      'help' =&gt; '',
      'trim' =&gt; 0,
      'max_length' =&gt; '',
      'word_boundary' =&gt; 1,
      'ellipsis' =&gt; 1,
      'html' =&gt; 0,
      'strip_tags' =&gt; 0,
    ),
    'empty' =&gt; '',
    'hide_empty' =&gt; 0,
    'empty_zero' =&gt; 0,
    'link_to_node' =&gt; 0,
    'label_type' =&gt; 'none',
    'format' =&gt; 'video_preview',
    'multiple' =&gt; array(
      'group' =&gt; TRUE,
      'multiple_number' =&gt; '',
      'multiple_from' =&gt; '',
      'multiple_reversed' =&gt; FALSE,
    ),
    'exclude' =&gt; 1,
    'id' =&gt; 'field_feed_video_video_embed',
    'table' =&gt; 'node_data_field_feed_video_video',
    'field' =&gt; 'field_feed_video_video_embed',
    'relationship' =&gt; 'none',
    'override' =&gt; array(
      'button' =&gt; 'Use default',
    ),
  ),
  'title' =&gt; array(
    'label' =&gt; 'Title',
    'alter' =&gt; array(
      'alter_text' =&gt; 0,
      'text' =&gt; '',
      'make_link' =&gt; 0,
      'path' =&gt; '',
      'link_class' =&gt; '',
      'alt' =&gt; '',
      'prefix' =&gt; '',
      'suffix' =&gt; '',
      'target' =&gt; '',
      'help' =&gt; '',
      'trim' =&gt; 0,
      'max_length' =&gt; '',
      'word_boundary' =&gt; 1,
      'ellipsis' =&gt; 1,
      'html' =&gt; 0,
      'strip_tags' =&gt; 0,
    ),
    'empty' =&gt; '',
    'hide_empty' =&gt; 0,
    'empty_zero' =&gt; 0,
    'link_to_node' =&gt; 0,
    'exclude' =&gt; 1,
    'id' =&gt; 'title',
    'table' =&gt; 'node',
    'field' =&gt; 'title',
    'relationship' =&gt; 'none',
    'override' =&gt; array(
      'button' =&gt; 'Override',
    ),
  ),
  'created' =&gt; array(
    'label' =&gt; 'Post date',
    'alter' =&gt; array(
      'alter_text' =&gt; 1,
      'text' =&gt; '[created] ago',
      'make_link' =&gt; 0,
      'path' =&gt; '',
      'link_class' =&gt; '',
      'alt' =&gt; '',
      'prefix' =&gt; '',
      'suffix' =&gt; '',
      'target' =&gt; '',
      'help' =&gt; '',
      'trim' =&gt; 0,
      'max_length' =&gt; '',
      'word_boundary' =&gt; 1,
      'ellipsis' =&gt; 1,
      'html' =&gt; 0,
      'strip_tags' =&gt; 0,
    ),
    'empty' =&gt; '',
    'hide_empty' =&gt; 0,
    'empty_zero' =&gt; 0,
    'date_format' =&gt; 'raw time ago',
    'custom_date_format' =&gt; '1',
    'exclude' =&gt; 1,
    'id' =&gt; 'created',
    'table' =&gt; 'node',
    'field' =&gt; 'created',
    'relationship' =&gt; 'none',
    'override' =&gt; array(
      'button' =&gt; 'Use default',
    ),
  ),
  'path' =&gt; array(
    'label' =&gt; 'Path',
    'alter' =&gt; array(
      'alter_text' =&gt; 0,
      'text' =&gt; '',
      'make_link' =&gt; 0,
      'path' =&gt; '',
      'link_class' =&gt; '',
      'alt' =&gt; '',
      'prefix' =&gt; '',
      'suffix' =&gt; '',
      'target' =&gt; '',
      'help' =&gt; '',
      'trim' =&gt; 0,
      'max_length' =&gt; '',
      'word_boundary' =&gt; 1,
      'ellipsis' =&gt; 1,
      'html' =&gt; 0,
      'strip_tags' =&gt; 0,
    ),
    'empty' =&gt; '',
    'hide_empty' =&gt; 0,
    'empty_zero' =&gt; 0,
    'absolute' =&gt; 0,
    'exclude' =&gt; 1,
    'id' =&gt; 'path',
    'table' =&gt; 'node',
    'field' =&gt; 'path',
    'override' =&gt; array(
      'button' =&gt; 'Override',
    ),
    'relationship' =&gt; 'none',
  ),
  'comment_count' =&gt; array(
    'label' =&gt; 'Comment count',
    'alter' =&gt; array(
      'alter_text' =&gt; 0,
      'text' =&gt; '',
      'make_link' =&gt; 0,
      'path' =&gt; '',
      'link_class' =&gt; '',
      'alt' =&gt; '',
      'prefix' =&gt; '',
      'suffix' =&gt; '',
      'target' =&gt; '',
      'help' =&gt; '',
      'trim' =&gt; 0,
      'max_length' =&gt; '',
      'word_boundary' =&gt; 1,
      'ellipsis' =&gt; 1,
      'html' =&gt; 0,
      'strip_tags' =&gt; 0,
    ),
    'empty' =&gt; '',
    'hide_empty' =&gt; 0,
    'empty_zero' =&gt; 0,
    'set_precision' =&gt; FALSE,
    'precision' =&gt; 0,
    'decimal' =&gt; '.',
    'separator' =&gt; ',',
    'prefix' =&gt; '',
    'suffix' =&gt; '',
    'exclude' =&gt; 1,
    'id' =&gt; 'comment_count',
    'table' =&gt; 'node_comment_statistics',
    'field' =&gt; 'comment_count',
    'relationship' =&gt; 'none',
  ),
  'tid_list' =&gt; array(
    'label' =&gt; 'All term images',
    'alter' =&gt; array(
      'alter_text' =&gt; FALSE,
      'text' =&gt; '',
      'make_link' =&gt; FALSE,
      'path' =&gt; '',
      'alt' =&gt; '',
      'link_class' =&gt; '',
      'prefix' =&gt; '',
      'suffix' =&gt; '',
      'target' =&gt; '',
      'trim' =&gt; FALSE,
      'max_length' =&gt; '',
      'word_boundary' =&gt; TRUE,
      'ellipsis' =&gt; TRUE,
      'strip_tags' =&gt; FALSE,
      'html' =&gt; FALSE,
    ),
    'empty' =&gt; '',
    'hide_empty' =&gt; 0,
    'empty_zero' =&gt; 0,
    'type' =&gt; 'separator',
    'separator' =&gt; ', ',
    'imagecache_preset' =&gt; '',
    'link_to_taxonomy' =&gt; 0,
    'limit' =&gt; 1,
    'vids' =&gt; array(
      '1' =&gt; 1,
      '7' =&gt; 0,
      '8' =&gt; 0,
      '5' =&gt; 0,
    ),
    'exclude' =&gt; 1,
    'id' =&gt; 'tid_list',
    'table' =&gt; 'term_image',
    'field' =&gt; 'tid_list',
    'override' =&gt; array(
      'button' =&gt; 'Use default',
    ),
    'relationship' =&gt; 'none',
  ),
  'field_feed_video_description_value' =&gt; array(
    'label' =&gt; 'Description',
    'alter' =&gt; array(
      'alter_text' =&gt; 0,
      'text' =&gt; '',
      'make_link' =&gt; 0,
      'path' =&gt; '',
      'link_class' =&gt; '',
      'alt' =&gt; '',
      'prefix' =&gt; '',
      'suffix' =&gt; '',
      'target' =&gt; '',
      'help' =&gt; '',
      'trim' =&gt; 1,
      'max_length' =&gt; '130',
      'word_boundary' =&gt; 1,
      'ellipsis' =&gt; 1,
      'html' =&gt; 0,
      'strip_tags' =&gt; 1,
    ),
    'empty' =&gt; '',
    'hide_empty' =&gt; 0,
    'empty_zero' =&gt; 0,
    'link_to_node' =&gt; 0,
    'label_type' =&gt; 'widget',
    'format' =&gt; 'default',
    'multiple' =&gt; array(
      'group' =&gt; TRUE,
      'multiple_number' =&gt; '',
      'multiple_from' =&gt; '',
      'multiple_reversed' =&gt; FALSE,
    ),
    'exclude' =&gt; 1,
    'id' =&gt; 'field_feed_video_description_value',
    'table' =&gt; 'node_data_field_feed_video_description',
    'field' =&gt; 'field_feed_video_description_value',
    'relationship' =&gt; 'none',
    'override' =&gt; array(
      'button' =&gt; 'Override',
    ),
  ),
  'field_feed_video_video_duration' =&gt; array(
    'label' =&gt; 'Video',
    'alter' =&gt; array(
      'alter_text' =&gt; 0,
      'text' =&gt; '',
      'make_link' =&gt; 0,
      'path' =&gt; '',
      'link_class' =&gt; '',
      'alt' =&gt; '',
      'prefix' =&gt; '',
      'suffix' =&gt; '',
      'target' =&gt; '',
      'help' =&gt; '',
      'trim' =&gt; 0,
      'max_length' =&gt; '',
      'word_boundary' =&gt; 1,
      'ellipsis' =&gt; 1,
      'html' =&gt; 0,
      'strip_tags' =&gt; 0,
    ),
    'empty' =&gt; '',
    'hide_empty' =&gt; 0,
    'empty_zero' =&gt; 0,
    'link_to_node' =&gt; 0,
    'label_type' =&gt; 'widget',
    'format' =&gt; 'duration_time',
    'multiple' =&gt; array(
      'group' =&gt; TRUE,
      'multiple_number' =&gt; '',
      'multiple_from' =&gt; '',
      'multiple_reversed' =&gt; FALSE,
    ),
    'exclude' =&gt; 1,
    'id' =&gt; 'field_feed_video_video_duration',
    'table' =&gt; 'node_data_field_feed_video_video',
    'field' =&gt; 'field_feed_video_video_duration',
    'relationship' =&gt; 'none',
  ),
  'field_feed_video_views_value' =&gt; array(
    'label' =&gt; 'Views',
    'alter' =&gt; array(
      'alter_text' =&gt; 0,
      'text' =&gt; '',
      'make_link' =&gt; 0,
      'path' =&gt; '',
      'link_class' =&gt; '',
      'alt' =&gt; '',
      'prefix' =&gt; '',
      'suffix' =&gt; '',
      'target' =&gt; '',
      'help' =&gt; '',
      'trim' =&gt; 0,
      'max_length' =&gt; '',
      'word_boundary' =&gt; 1,
      'ellipsis' =&gt; 1,
      'html' =&gt; 0,
      'strip_tags' =&gt; 0,
    ),
    'empty' =&gt; '0',
    'hide_empty' =&gt; 0,
    'empty_zero' =&gt; 0,
    'link_to_node' =&gt; 0,
    'label_type' =&gt; 'widget',
    'format' =&gt; 'default',
    'multiple' =&gt; array(
      'group' =&gt; TRUE,
      'multiple_number' =&gt; '',
      'multiple_from' =&gt; '',
      'multiple_reversed' =&gt; FALSE,
    ),
    'exclude' =&gt; 1,
    'id' =&gt; 'field_feed_video_views_value',
    'table' =&gt; 'node_data_field_feed_video_views',
    'field' =&gt; 'field_feed_video_views_value',
    'relationship' =&gt; 'none',
    'override' =&gt; array(
      'button' =&gt; 'Use default',
    ),
  ),
  'nid' =&gt; array(
    'label' =&gt; 'Nid',
    'alter' =&gt; array(
      'alter_text' =&gt; 0,
      'text' =&gt; '',
      'make_link' =&gt; 0,
      'path' =&gt; '',
      'link_class' =&gt; '',
      'alt' =&gt; '',
      'prefix' =&gt; '',
      'suffix' =&gt; '',
      'target' =&gt; '',
      'help' =&gt; '',
      'trim' =&gt; 0,
      'max_length' =&gt; '',
      'word_boundary' =&gt; 1,
      'ellipsis' =&gt; 1,
      'html' =&gt; 0,
      'strip_tags' =&gt; 0,
    ),
    'empty' =&gt; '',
    'hide_empty' =&gt; 0,
    'empty_zero' =&gt; 0,
    'link_to_node' =&gt; 0,
    'exclude' =&gt; 1,
    'id' =&gt; 'nid',
    'table' =&gt; 'node',
    'field' =&gt; 'nid',
    'override' =&gt; array(
      'button' =&gt; 'Override',
    ),
    'relationship' =&gt; 'feed_nid',
  ),
  'title_1' =&gt; array(
    'label' =&gt; '',
    'alter' =&gt; array(
      'alter_text' =&gt; 0,
      'text' =&gt; '',
      'make_link' =&gt; 1,
      'path' =&gt; 'node/[nid]',
      'link_class' =&gt; '',
      'alt' =&gt; '',
      'prefix' =&gt; '',
      'suffix' =&gt; '',
      'target' =&gt; '',
      'help' =&gt; '',
      'trim' =&gt; 0,
      'max_length' =&gt; '',
      'word_boundary' =&gt; 1,
      'ellipsis' =&gt; 1,
      'html' =&gt; 0,
      'strip_tags' =&gt; 0,
    ),
    'empty' =&gt; '',
    'hide_empty' =&gt; 0,
    'empty_zero' =&gt; 0,
    'link_to_node' =&gt; 0,
    'exclude' =&gt; 1,
    'id' =&gt; 'title_1',
    'table' =&gt; 'node',
    'field' =&gt; 'title',
    'override' =&gt; array(
      'button' =&gt; 'Override',
    ),
    'relationship' =&gt; 'feed_nid',
  ),
  'nothing' =&gt; array(
    'label' =&gt; '',
    'alter' =&gt; array(
      'text' =&gt; '&lt;h2&gt;&lt;a href=&quot;[path]&quot;&gt;[title]&lt;/a&gt;&lt;/h2&gt;
&lt;div&gt;casted by [title_1] [created]&lt;/div&gt;
&lt;div&gt;[field_feed_video_video_embed]&lt;/div&gt;
&lt;div&gt;[tid_list] | &lt;strong&gt;[field_feed_video_views_value]&lt;/strong&gt; views | &lt;strong&gt;[field_feed_video_video_duration]&lt;/strong&gt; min | &lt;strong&gt;[comment_count]&lt;/strong&gt; comments&lt;/div&gt;',
      'make_link' =&gt; 0,
      'path' =&gt; '',
      'link_class' =&gt; '',
      'alt' =&gt; '',
      'prefix' =&gt; '',
      'suffix' =&gt; '',
      'target' =&gt; '',
      'help' =&gt; '',
      'trim' =&gt; 0,
      'max_length' =&gt; '',
      'word_boundary' =&gt; 1,
      'ellipsis' =&gt; 1,
      'html' =&gt; 0,
      'strip_tags' =&gt; 0,
    ),
    'empty' =&gt; '',
    'hide_empty' =&gt; 0,
    'empty_zero' =&gt; 0,
    'exclude' =&gt; 0,
    'id' =&gt; 'nothing',
    'table' =&gt; 'views',
    'field' =&gt; 'nothing',
    'relationship' =&gt; 'none',
    'override' =&gt; array(
      'button' =&gt; 'Use default',
    ),
  ),
));
$handler-&gt;override_option('sorts', array(
  'field_feed_video_views_value' =&gt; array(
    'order' =&gt; 'DESC',
    'delta' =&gt; -1,
    'id' =&gt; 'field_feed_video_views_value',
    'table' =&gt; 'node_data_field_feed_video_views',
    'field' =&gt; 'field_feed_video_views_value',
    'override' =&gt; array(
      'button' =&gt; 'Use default',
    ),
    'relationship' =&gt; 'none',
  ),
));
$handler-&gt;override_option('filters', array(
  'created' =&gt; array(
    'operator' =&gt; '&gt;=',
    'value' =&gt; array(
      'type' =&gt; 'offset',
      'value' =&gt; '-7 day',
      'min' =&gt; '',
      'max' =&gt; '',
    ),
    'group' =&gt; '0',
    'exposed' =&gt; FALSE,
    'expose' =&gt; array(
      'operator' =&gt; FALSE,
      'label' =&gt; '',
    ),
    'id' =&gt; 'created',
    'table' =&gt; 'node',
    'field' =&gt; 'created',
    'override' =&gt; array(
      'button' =&gt; 'Use default',
    ),
    'relationship' =&gt; 'none',
  ),
  'type' =&gt; array(
    'operator' =&gt; 'in',
    'value' =&gt; array(
      'feed_video_item' =&gt; 'feed_video_item',
    ),
    'group' =&gt; '0',
    'exposed' =&gt; FALSE,
    'expose' =&gt; array(
      'operator' =&gt; 'type_op',
      'label' =&gt; 'Node: Type',
      'use_operator' =&gt; 0,
      'identifier' =&gt; 'type',
      'bef_filter_description' =&gt; '',
      'bef_format' =&gt; 'default',
      'optional' =&gt; 1,
      'single' =&gt; 1,
      'remember' =&gt; 0,
      'reduce' =&gt; 0,
      'bef_select_all_none' =&gt; 1,
    ),
    'id' =&gt; 'type',
    'table' =&gt; 'node',
    'field' =&gt; 'type',
    'relationship' =&gt; 'none',
    'override' =&gt; array(
      'button' =&gt; 'Override',
    ),
  ),
  'title' =&gt; array(
    'operator' =&gt; 'not',
    'value' =&gt; 'Procaster',
    'group' =&gt; '0',
    'exposed' =&gt; FALSE,
    'expose' =&gt; array(
      'operator' =&gt; FALSE,
      'label' =&gt; '',
    ),
    'case' =&gt; 0,
    'id' =&gt; 'title',
    'table' =&gt; 'node',
    'field' =&gt; 'title',
    'relationship' =&gt; 'none',
  ),
  'title_1' =&gt; array(
    'operator' =&gt; 'not',
    'value' =&gt; 'Live Show [livestream]',
    'group' =&gt; '0',
    'exposed' =&gt; FALSE,
    'expose' =&gt; array(
      'operator' =&gt; FALSE,
      'label' =&gt; '',
    ),
    'case' =&gt; 0,
    'id' =&gt; 'title_1',
    'table' =&gt; 'node',
    'field' =&gt; 'title',
    'override' =&gt; array(
      'button' =&gt; 'Use default',
    ),
    'relationship' =&gt; 'none',
  ),
));
$handler-&gt;override_option('use_ajax', FALSE);
$handler-&gt;override_option('items_per_page', 1);
$handler-&gt;override_option('offset', 0);
$handler-&gt;override_option('style_options', array(
  'grouping' =&gt; '',
  'group' =&gt; array(
    'element_type' =&gt; 'h3',
    'class' =&gt; 'title',
  ),
  'list' =&gt; array(
    'element_type' =&gt; '',
    'class' =&gt; '',
  ),
  'row' =&gt; array(
    'element_type' =&gt; 'div',
    'class' =&gt; 'video-top',
    'last_every_nth' =&gt; '0',
    'first_class' =&gt; '',
    'last_class' =&gt; '',
    'striping_classes' =&gt; '',
  ),
));
$handler-&gt;override_option('attachment_position', 'before');
$handler-&gt;override_option('inherit_arguments', TRUE);
$handler-&gt;override_option('inherit_exposed_filters', FALSE);
$handler-&gt;override_option('inherit_pager', FALSE);
$handler-&gt;override_option('render_pager', TRUE);
$handler-&gt;override_option('displays', array(
  'block_2' =&gt; 'block_2',
  'default' =&gt; 0,
  'block_1' =&gt; 0,
));</pre><p><span style="color: #ff0000;">PLEASE NOTE</span></p><p>I&#8217;ve taken this view right out of a live project of mine. It will not work out of the box for you. There will be missing fields ( the <a href="http://drupal.org/project/feeds" target="_blank">Feeds</a> fields ) and the images will definitely be borked up from the beginning.</p><p>The view is only there to show you how to set up Semantiv Views and the Attachment Views to copy the frontpage views of <a href="http://vimeo.com" target="_blank">Vimeo.com</a>.</p><p>See the semantic views settings and the &#8220;Global : Custom Text&#8221; field on every view to get an impression on how its done and set the default withs / heights of your embedded video field to fix the image problems.</p><p>I&#8217;m sorry, but i currently can&#8217;t provide an view that works out of the box. I might add that later, but its not likely. The view above is a good way to get started and with some hours of work you will make it work <img src='http://runeforge.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p>I can however help you through some problems in the Comments. So please feel free to ask!</p><h2>Step 5 &#8211; Creating the QuickTabs block</h2><ul><li>Go to &lt;yoursite&gt;/admin/settings/quicktabs and make sure the default style is set to &#8220;no style&#8221; !</li><li>Add a new quicktabs block</li><li>Add two tabs, both set to View</li><li>Make sure the Style is set to &#8220;Default&#8221;</li><li>Set the first to our &#8220;video_frontpage&#8221; view and &#8220;block_1 &#8211; Today new&#8221; as display</li><li>Set the second to our &#8220;video_frontpage&#8221; view and &#8220;block_2 &#8211; This week &#8211; most viewed&#8221; as display</li><li>Save the Quickblock</li><li>Go to Administer -&gt; Blocks and move our Quickblock to &#8220;Content Top&#8221;, save and make the block only show up on &#8220;&lt;front&gt;&#8221; under Page specific visibility</li></ul><h2>Step 6 &#8211; Create the top menu</h2><p>All credit for the initial work goes to <a href="http://www.jankoatwarpspeed.com/post/2009/01/19/Create-Vimeo-like-top-navigation.aspx" target="_blank">JankoAtWarpspeed</a>. I have done some adjustments to include Drupal&#8217;s user menus as well.</p><ul><li>Create a new block, set the default text filter to php</li><li>Paste <a href="http://runeforge.net/wp-content/uploads/2011/01/vimeo_block.txt" target="_blank">this</a> code into your block</li><pre class="brush: xml; collapse: true; light: false; title: ; toolbar: true; notranslate">
&lt;div&gt;
	&lt;ul id=&quot;mainmenu&quot;&gt;
		&lt;li class=&quot;logo&quot;&gt;
		 	&lt;div class=&quot;sprite sprite-menu_left&quot; onclick=&quot;location.href='/';&quot;&gt;&lt;a href=&quot;/&quot;&gt;&lt;/a&gt;&lt;/div&gt;
		&lt;/li&gt;

		&lt;?php

			global $user;

			if ( $user-&gt;uid ) {
				print '&lt;li&gt;&lt;a href=&quot;/user&quot;&gt;' . $user-&gt;name . '&lt;/a&gt;
						&lt;ul id=&quot;account&quot;&gt;
							&lt;li&gt;
								&lt;div class=&quot;corner_inset_left sprite sprite-corner_inset_left&quot;&gt;&lt;/div&gt;
								&lt;a href=&quot;/user&quot;&gt;Settings&lt;/a&gt;
								&lt;div class=&quot;corner_inset_right sprite sprite-corner_inset_right&quot;&gt;&lt;/div&gt;
							&lt;/li&gt;
							&lt;li&gt;&lt;a href=&quot;/logout&quot;&gt;Logout&lt;/a&gt;&lt;/li&gt;
							&lt;li class=&quot;last&quot;&gt;
								&lt;div class=&quot;corner_left sprite sprite-corner_left&quot;&gt;&lt;/div&gt;
								&lt;img src=&quot;/sites/default/themes/at_sc2fm/css/images/mainmenu_dot.gif&quot; width=&quot;1&quot; height=&quot;1&quot; class=&quot;middle&quot; alt=&quot;&quot;/&gt;
								&lt;div class=&quot;corner_right sprite sprite-corner_right&quot;&gt;&lt;/div&gt;
							&lt;/li&gt;
						&lt;/ul&gt;
					&lt;/li&gt;
					&lt;li&gt;&lt;a href=&quot;/channels/bookmarks&quot;&gt;Bookmarks&lt;/a&gt;
						&lt;ul id=&quot;bookmarks&quot;&gt;
							&lt;li&gt;
								&lt;div class=&quot;corner_inset_left sprite sprite-corner_inset_left&quot;&gt;&lt;/div&gt;
								&lt;a href=&quot;/channels/bookmarks&quot;&gt;Channels&lt;/a&gt;
								&lt;div class=&quot;corner_inset_right sprite sprite-corner_inset_right&quot;&gt;&lt;/div&gt;
							&lt;/li&gt;
							&lt;li&gt;&lt;a href=&quot;/videos/bookmarks&quot;&gt;Videos&lt;/a&gt;&lt;/li&gt;
							&lt;li class=&quot;last&quot;&gt;
								&lt;div class=&quot;corner_left sprite sprite-corner_left&quot;&gt;&lt;/div&gt;
								&lt;img src=&quot;/sites/default/themes/at_sc2fm/css/images/mainmenu_dot.gif&quot; width=&quot;1&quot; height=&quot;1&quot; class=&quot;middle&quot; alt=&quot;&quot;/&gt;
								&lt;div class=&quot;corner_right sprite sprite-corner_right&quot;&gt;&lt;/div&gt;
							&lt;/li&gt;
						&lt;/ul&gt;
					&lt;/li&gt;';
			}
			else {
				print '&lt;li&gt;&lt;a href=&quot;/user&quot;&gt;Login&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;/user/register&quot;&gt;Register&lt;/a&gt;&lt;/li&gt;';
			}

		?&gt;

		&lt;li&gt;&lt;a href=&quot;/channels&quot;&gt;Explore&lt;/a&gt;
			&lt;ul id=&quot;explore&quot;&gt;
				&lt;li&gt;
					&lt;div class=&quot;corner_inset_left sprite sprite-corner_inset_left&quot;&gt;&lt;/div&gt;
					&lt;a href=&quot;/channels&quot;&gt;Channels&lt;/a&gt;
					&lt;div class=&quot;corner_inset_right sprite sprite-corner_inset_right&quot;&gt;&lt;/div&gt;
				&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;/search&quot;&gt;Search&lt;/a&gt;&lt;/li&gt;
				&lt;li class=&quot;last&quot;&gt;
					&lt;div class=&quot;corner_left sprite sprite-corner_left&quot;&gt;&lt;/div&gt;
					&lt;img src=&quot;/sites/default/themes/at_sc2fm/css/images/mainmenu_dot.gif&quot; width=&quot;1&quot; height=&quot;1&quot; class=&quot;middle&quot; alt=&quot;&quot;/&gt;
								&lt;div class=&quot;corner_right sprite sprite-corner_right&quot;&gt;&lt;/div&gt;
				&lt;/li&gt;
			&lt;/ul&gt;
		&lt;/li&gt;

		&lt;li&gt;&lt;a href=&quot;/forum&quot;&gt;Community&lt;/a&gt;
			&lt;ul id=&quot;community&quot;&gt;
				&lt;li&gt;
					&lt;div class=&quot;corner_inset_left sprite sprite-corner_inset_left&quot;&gt;&lt;/div&gt;
					&lt;a href=&quot;/forum&quot;&gt;Forum&lt;/a&gt;
					&lt;div class=&quot;corner_inset_right sprite sprite-corner_inset_right&quot;&gt;&lt;/div&gt;
				&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;/chat&quot;&gt;Chat&lt;/a&gt;&lt;/li&gt;
				&lt;li class=&quot;last&quot;&gt;
					&lt;div class=&quot;corner_left sprite sprite-corner_left&quot;&gt;&lt;/div&gt;
					&lt;img src=&quot;/sites/default/themes/at_sc2fm/css/images/mainmenu_dot.gif&quot; width=&quot;1&quot; height=&quot;1&quot; class=&quot;middle&quot; alt=&quot;&quot;/&gt;
								&lt;div class=&quot;corner_right sprite sprite-corner_right&quot;&gt;&lt;/div&gt;
				&lt;/li&gt;
			&lt;/ul&gt;
		&lt;/li&gt;

		&lt;li class=&quot;searchContainer&quot;&gt;
			&lt;div&gt;
			  &lt;input type=&quot;text&quot; id=&quot;searchField&quot; onkeypress=&quot;evaluateSubmit(event, 'doSearch(\'' + this.id + '\')'); &quot;/&gt;
			  &lt;img src=&quot;/sites/default/themes/at_sc2fm/css/images/magnifier.png&quot; alt=&quot;Search&quot; onclick=&quot;doSearch('searchField');&quot; width=&quot;16&quot; height=&quot;16&quot; /&gt;

			&lt;/div&gt;
		&lt;/li&gt;
	&lt;/ul&gt;
	&lt;div style=&quot;float:left&quot; class=&quot;sprite sprite-menu_right&quot;&gt;&lt;/div&gt;
&lt;/div&gt;
</pre><li>Adjust the image paths, if you need to</li><li>Adjust the menu items to your needs ( its explained in Jankos tutorial )</li><li>Set the title of the block to &#8220;&lt;none&gt;&#8221; and save it</li><li>Move the block to the Header Region and save</li></ul><h1>Conclusion</h1><p>Basically its not that hard to do. The steps might sound a bit complex especially adjusting the view, but its not that hard. It initially took me around 4 days to create the theme and the view from scratch.</p><p>Thanks for reading and let me know in the comments if it helped you and feel free to ask questions. I’ll do my best to guide you through.</p> ]]></content:encoded> <wfw:commentRss>http://runeforge.net/tutorial/mimicking-vimeo-com-using-drupal/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 8/56 queries in 0.041 seconds using disk: basic
Object Caching 728/850 objects using disk: basic

Served from: runeforge.net @ 2012-05-20 15:59:29 -->
