Custom 301 Redirects in Ingeniux CMS 7.0

by Michael Santoroski on August 5, 2010

We recently upgraded to Ingeniux version 7.0 and one of the more exciting features is the ability to do Custom 301 Redirects from inside the CMS. Now you can create “friendly URLs.” It’s a little confusing at first, I have created this video to help get you started:

Custom 301 Redirects in Ingenix 7.0

Here is the screen shot to follow along:

image

Leave a comment and let me know how this is working for you!

Here is some additional details from the Official Documentation:

The From/To pair creates a map between the page requested (From) and the site page that will be delivered (To). The content of the From field is appended to the URL of the site. If that combined address matches an HTTP request, the page in the To field is delivered. This is true even if Structured URLs are enabled. The To field may hold a specific XID (e.g. x217.xml) or a structured URL label (e.g. About_Us) if Structured URLs are enabled. The site keeps the redirect mappings in <site>\xml\settings\redirects.xml

{ 1 comment }

Integrating Your WordPress Blog with Ingeniux CMS

by Michael Santoroski on June 3, 2010

We have been working on making several updates to our homepage to make it more “social media” aware. We have integrated Facebook, added links to all our social media sites, and made a few other tweaks. Our final step was to add stories from the RC News Blog to the the “Campus News” section of our homepage. The RC News Blog is a WordPress blog that is hosted separately by Dreamhost.

The major challenge with this project was that we wanted to have a thumbnail image included with the story, the default WordPress RSS feed does not include images. I will talk about what we did in two phases, one if you want to incorporate the native RSS feed without images. And the second where we used some Coldfusion parsing to create a new feed that had the image.

Here are the steps:

Phase 1:

  1. Find your blogs RSS feed, you should be able to click the orange RSS feed icon on your browser. Our link was http://www.rcnewsblog.com/?feed=rss2
  2. Add an “Insert Component” to your page. You will need to edit the schema and create a new page. This is how ours looked:
    image
    Make sure you select Well Formed = Yes and Extract HTML Boyd = NO
  3. You will have access to the XML, like this:
    HTMLInsert

4. Just match on all the “Items” starting with HTMLInsert/rss/channel/

Phase 2:

Since we wanted to use the thumbnail we had to use Coldfusion to parse the RSS and create a new file with resized jpgs. This is what the new XML looked like. Notice the thumbnail element.

image

You can see the raw XML at: http://webapps.roanoke.edu/xmlfeeds/rcnewsfeed.cfm

To get the image file to show in the RSS feed we used a plugin called “Get the Image,” It adds some media tags to your RSS:

<media:thumbnail url="http://roanoke.edu/images/iphone/iphone2.jpg" />

<media:content url="http://roanoke.edu/images/iphone/iphone2.jpg" medium="image">

<media:title type="html">Post image for RC Mobile site featured on “Best of” list</media:title>

</media:content>

Once we have the XML with the thumbnail image that we wanted and had it sized properly, we just have to make the template match (I am glossing over alot of the Coldfusion parsing here, if there is interest I can blog about that, too). Note that we are showing regular news stories first, then blog stories second on our Campus News section of the homepage. We also append “[Blog Article]” to the title since we wanted users to understand that they would be going to a different site.

Here is the XSL.

Template call:

<div id="campus-news">
    <h2>Campus News <a href="x27021.xml" class="view-all">More News</a></h2>
    <ul class="news-list">
        <xsl:apply-templates select="Page" />
        <xsl:apply-templates select="BlogFeed/stories" />
    </ul>       
</div>

And the match: 

      <xsl:template match="HomePage/NewsEvents/BlogFeed/stories">
            <xsl:apply-templates select="item" />
        </xsl:template>

        <xsl:template match="HomePage/NewsEvents/BlogFeed/stories/item">
             <li class="has-thumbnail">
                <a href="{link}"><img src="{thumbnail}" alt="{title}" style="width: 53px;" class="thumbnail" /></a>
                <h3><a href="{link}"><xsl:value-of select="title" /> [Blog Article]</a></h3>
                <p><xsl:value-of select="description" disable-output-escaping="yes" /></p>
            </li>
        </xsl:template>

This is what the final output looks like, with the news stories, then the two blog articles. Of course you can see it live at http://roanoke.edu

image

Let me know your thoughts, and how you are using WordPress with your CMS in the comments.

{ 0 comments }

Adding Facebook Status to your homepage using Ingeniux

May 10, 2010

Step 1: Grab your status feed as a JSON Object: http://graph.facebook.com/{YourFacebookID}/feed Make sure you find your Facebook ID and replace it in the URL Above. Step 2: We used some Coldfusion magic to parse the JSON to XML, you can see below what the result is. We choose to strip out all the unnecessary data [...]

Read the full article →

Video on the homepage

May 10, 2010

We just launched a new look on the homepage by replacing our large image/flash area with a new video flash piece.  I’m really pleased with the way it turned out.  The concept and design was done in house and then our friends at New City helped us with some tweaks and built it for us.  [...]

Read the full article →

Social Media on the Homepage, Part 2

April 28, 2010

Recently I blogged about how other Virginia colleges were using Social Media on their homepages, since then we have been trying to figure out the best way to get social media on the Roanoke College homepage. After doing some internal mock-ups and and asking New City (our design partners) to do some mock-ups, we came [...]

Read the full article →

Helpful jQuery Tricks for Everyday Tasks

April 5, 2010

1. Toggling a checkbox’s value: $(“:checkbox”).attr(“checked”,$(this).attr(“checked”)); This code simply sets the “checked” attribute of the checkbox to be the opposite of whatever it’s current value is. Good for changing the value of multiple checkboxes at once or changing a checkbox on an action other than the click event. 2. Chaining Event Handlers jQuery’s ability to [...]

Read the full article →

Pushing Bits: Tricasting athletic events at Roanoke College

April 1, 2010

Special to High on Web. We’ve been busy this past year helping our athletic department webcast sporting events at Roanoke College using Ustream.tv’s Watershed CDN service.  As a result of our efforts, many of our games are now distributed via flash streaming to Watershed, and are displayed on RC Athletics website at maroons.roanoke.edu. This initial [...]

Read the full article →

Video is coming soon to our homepage

March 29, 2010

The Roanoke College homepage has a large flash area that is currently photos and text.   We’ve been thinking about replacing it for some time, but weren’t sure exactly what we wanted to do. Current: We knew that from a content standpoint we wanted to feature our branding and messaging, and we knew that we wanted [...]

Read the full article →

RESTful Facebook Connect Development With jQuery

March 25, 2010

We recently implemented Facebook Connect using their JavaScript REST API and a little bit of jQuery. Once we authenticated with our API key, we were able to request any information we wanted from a Facebook user’s account. We just performed a simple ajax call and dumped the result into a demo page. Login with JQuery: [...]

Read the full article →

Importing & Editing AVCHD Video

March 18, 2010

So, you have a camera that takes HD video in AVCHD format…now what do you do with it?  I have a Canon HF-200 that takes pretty good HD footage for a $500 camera.   We have a cinematographer for big projects, but we have the Canon to use for small projects. I had trouble with this [...]

Read the full article →