Press This « WordPress Codex

I don’t know how I missed this feature in WordPress before but if you’ve never tried it have a look at “Press This”, it enables quick blogging of an article from another site through the browser.

It works by getting you to create a bookmark which is in fact a JavaScript snippet. While using the browser the bookmark was added to, if you visit a site with content you want to blog about just click the bookmark and a new post edit window opens with the title and source reference already added. Add your own text and publishing and you are done, couldn’t be simpler!

Check out the details at the link below (this post was created using Press This).

Source: Press This « WordPress Codex

SharePoint 2013 Custom Picture Library Creation & Deployment

I have had many painful experiences attempting to deploy picture libraries with custom fields from Visual Studio with previous versions of SharePoint but with 2013 I have come up with this method (which may not be the best but seems to work consistently). With any luck this will aid someone else and save them the time I have wasted previously. This guide is for SharePoint 2013 and the solution is developed in Visual Studio 2013, I have not tested this method with any other combination so outside of this environment you’re on your own.

  1. Open Visual Studio 2013 and create and SharePoint 2013 – Empty Project
    1. Create Empty Project
  2. Enter the name of the local URL of the SharePoint site you are going to test against, for this solution select Deploy as a sandboxed solution as there is no code required.
    2. Project Deployment
  3. As we are not developing any code for this solution set the project property Include Assembly in Package to False.
    3. Project Properties
  4. Now we have our empty SharePoint project ready to go, in Solution Explorer right click the project name and select Add > New Item. Under the Office/SharePoint templates select List, give the list a name and click Add
    4. Add New Item
  5. On the list settings screen select Create a customizable list template and a list instance of it. From the templates available in the drop down select Document Library
    5. List Settings
  6. All going well the list has been added to the project and schema designer window for the new list has opened. Currently this is the schema for a document library so the content type needs to be changed. Click the Content Type button
    6. Select Content Types
  7. In the Content Type Settings window right click the current default Document type and select Delete, in this example I also removed the Folder content type as it was not required
    7. Content Type Settings Remove
  8. Click in the empty Content Type Name box if it is not automatically selected for you and select Picture from the drop down list and click OK
    8. Content Type Settings Select
  9. In the main window you can now see a different set of columns reflecting the content type change. In the solution explorer you can also see a bunch of files have been added under the list, select all the files under the list (not list instance) except Elements.xml (include Schema.xml, not selected in this screenshot) and delete them
    9. Content Type Updated
  10. Next the files that were deleted need to be replaced with picture library ones. Right click the list name in Solution Explorer and select Add > Existing Item.
    Next browse to the SharePoint 15 hive features and locate the Picture Library feature (default path):C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\FEATURES\PictureLibrary\Select all the files in the PicLib directory and click OK
    10. Add Supporting Files
  11. The screenshot below shows the above location and files contained in the PicLib directory in Windows Explorer
    11. Hive Files
  12. The Solution Explorer list structure should now look as follows. Click the Show All Files button at the top of the Solution Explorer window, you should now see the SharePoint managed file SharePointProjectItem.spdata under the list definition, open it up
    12. Solution with files
  13. The contents of the file should be similar to the one shown below. This file defines which files are included in the list feature when SharePoint packages the WSP solution, we need to adjust this to include the files we just added so they are deployed
    13. SharePointProjectItem
  14. Copy the existing line and create a new entry for each file to be included.Note it is very important to make sure only the Elements.xml file has a type attribute of ElementManifest, all other files should have a type of ElementFile.You should end up with the file looking similar to the screenshot below
    14. SharePointProjectItem Updated
  15. Next open the Elements.xml file from under the list and update the ListTemplate Type attribute to 109 as shown (109 is the type of the Picture Library)
    15. Update List Elements
  16. Now open the Schema.xml file from under the list. Update the List attributes for Title and URL to exactly match the ListTemplate Name attribute from the Elements.xml file.
    Add the EnableContentTypes attribute with a value of TRUE.
    Finally Edit the ContentTypes node so it matches the screenshot shown. Note there will be an extra item required if folders are required
    16. Update List Schema
  17. The list definition is now configured, on to the list instance. Open the Elements.xml file and update the TemplateType attribute to 109 to match the list definition. At this point save everything that is open and close and reopen the Visual Studio solution, this is required for Visual Studio to pick up the changes we made to the SharePoint project item file we made earlier.Note if this is not done the new files will not be packaged and the feature cannot be activated.After closing and reopening you can make any customizations required to the list and add any custom field columns required using the schema designer. This can be opened by double clicking on the list name in Solution Explorer
    17. Update List Instance
  18. Once all customizations have been made you are ready to deploy and test the solution right click the project in Solution Explorer and select Deploy. Visual Studio will now build and package the solution and attempt to deploy and activate the feature on the SharePoint site defined at the start
    18. Deploy
  19. In your browser open the SharePoint site and navigate to the Site Contents, your list should be listed with a new! flag next to it, click the list
    19. New Picture Library
  20. Your Picture Library is now deployed and ready to go!
    20. Ready For Action

FreeOTT Player Part 2

This will be a brief post as the experience with the FreeOTT player was not exactly outstanding. I already own a couple of the Popcorn Hour (now Cloud Media) devices which have an inbuilt app store with Smart TV style apps. The FreeOTT player is basically just this element of the Popcorn players, the main issue is that after visiting the store for a few years now very little changes and the apps available are very limited.

The device itself is adequate (barely), it is not the most responsive to the remote and while an operation is progress there is no way to cancel you just have to wait. From my experience the only two apps of any repeat value are YouTube and Plex (which is still relatively new and feels more like a beta product). There is no facility to plug-in an external drive and play media, using Plex the media has to be transcoded by the server if it is in any format other than MP4.

To sum up by giving away the players I assume Cloud Media is hoping to drum up enough interest for other developers to create content for the platform, however I am not sure it brings enough to the table to achieve this and the most likely outcome is a lot of these players will end up sitting in drawers. I had hoped this would give a rich Smart TV experience for cheaper dumb TV’s and give the ability to play content from USB sticks and the like but this is not the case. For the moment a better option is to stump up the $50 or so for one of the Android media playing sticks, I hope in the future a revised player with greater functionality is released and more apps created but for now sorry but this is not for me.

CloudFlare

Recently I discovered a new service CloudFlare which I have been testing on this blog, I stumbled across it while visiting another site that had an outage. CloudFlare works by adding an extra layer between your website and the rest of the internet. It provides CDN, optimzation, security and analytics as well as offering integration with other apps.

The best feature of CloudFlare is that it has a free tier so you get to experiment with many of the features without having to sign up for a lengthy contract or even get your credit card out. Since setting it up I have created a deliberate outage and then when testing, yes my site was still available, outstanding!

The ability to combine javascript files into a single request and minify HTML, CSS & javscript files to reduce requests and bandwidth alone is worth signing up for. I have now implemented it across all the sites I manage without any issues, just benefits.

My recommendation give it a try today, you may be suprised and if you don’t like it just turn it off again!

I am in no way associated with CloudFlare other than being a free user.

http://www.cloudflare.com

First Nokia Lumia 920 Issue

So after having the phone for over a week now after the Telstra debacle I have encountered my first issue. Last night while talking to a work colleague the phone first decided to reboot and then promptly hang. I left it for 5-10 minutes with the screen happily glowing with the Nokia logo.
A quick google search suggested a full factory reset would fix the issue. Not wanting to go this far initially I did a soft reboot vol down + power + camera and release on vibrate. Within a minute or so the phone was back up and running correctly with no issues since. Hopefully this won’t become a regular problem although from what I read a fix is already on the way. The sooner the better as this is the last thing that MS/Nokia needs for WP8 and a flagship phone.

Update: Update: Nokia 920 Delayed on Telstra

Apparently the previous email regarding the Nokia Lumia 920 being out of stock from Telstra was sent in error, the email relates only to the free speaker and not the phone which will still ship on the (delayed) date of the 29th as previously stated. See the Telstra Crowd support site and follow the farce:

http://crowdsupport.telstra.com.au/t5/Windows-Phones/Delivery-of-Lumia-920/td-p/100764

It is worth mentioning that a follow up email to let others who had preordered has not been sent yet I would guess leaving many to chase Telstra to find out the status of their Lumia 920. I think this has been terrible service on the part of Telstra especially as you can walk in store and get one (allowing for availability) the best part of a week before those of us that committed to the preorder.

I can guarantee I will not be preordering any phones from Telstra in the future and will probably opt to buy them outright and no lock myself into a contract. I feel sorry for Nokia as incompetencies like this still reflect back even though it is unlikely they had any part in the problem.

Nokia 920 Delayed on Telstra

After preordering the Nokia Lumia 920 from Telstra and receiving a dispatch date of the 27th Nov I received a subsequent email yesterday of a delay. Due to availability of the free bonus speaker the phone will not be dispatched until the 30th. Not a huge delay I know but when you’ve been waiting over 2 weeks already it is a little frustrating.
For others in the same boat there is a little compensation in the form of a 3 month Xbox Music voucher. Is it just me or would it have been a lot easier and less frustrating to have posted the items separately?

Posted from WordPress for Windows Phone

AddThis Social Bookmarking Widget – WordPress Plugin

Everyone has seen the social media sharing options on blogs, product sites and digital media sites. They enable users to share your content across a number of social media platforms such as Facebook and Twitter etc. Adding this facility to your WordPress site has been made very simple by the AddThis plugin released by the AddThis team themselves. The plugin has a few basic options that can get your audience sharing your content in a couple of minutes, and further advanced options for you to experiment with once you are comfortable with it.

The plugin also offers tracking and analytics reports that may be of interest to some. Have a look at the plugin page on WordPress here:

http://wordpress.org/extend/plugins/addthis/

Also check out the AddThis website for more information:

http://www.addthis.com/