Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<portlet-definition xmlns="https://source.jasig.org/schemas/uportal/io/portlet-definition" xmlns:ns2="https://source.jasig.org/schemas/uportal" xmlns:ns3="https://source.jasig.org/schemas/uportal/io/portlet-type" xmlns:ns4="https://source.jasig.org/schemas/uportal/io/event-aggregation" xmlns:ns5="https://source.jasig.org/schemas/uportal/io/stylesheet-descriptor" xmlns:ns6="https://source.jasig.org/schemas/uportal/io/permission-owner" xmlns:ns7="https://source.jasig.org/schemas/uportal/io/subscribed-fragment" xmlns:ns8="https://source.jasig.org/schemas/uportal/io/user" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="4.0" xsi:schemaLocation="https://source.jasig.org/schemas/uportal/io/portlet-definition https://source.jasig.org/schemas/uportal/io/portlet-definition/portlet-definition-4.0.xsd">
<title>Reddit Feed</title>
<name>Reddit Feed</name>
<fname>my-subreddit</fname>
<desc>News feed portlet for reddit feed.</desc>
<t
{
"nodeId":"u23l1n234",
"title":"/r/uwmadison",
"description":"The UW-Madison subreddit. We do not monitor this feed.",
"url":"https://www.reddit.com/r/uwmadison",
"iconUrl":null,
"faIcon":"fa-reddit",
"fname":"uwmadison-sub-reddit",
"target": "_blank",
"widgetURL": "/web/api/uwmadisonreddit.json",
[
{
"lastModified":{
"year":2015,
"weekyear":2015,
"yearOfEra":2015,
"centuryOfEra":20,
"dayOfYear":96,
"dayOfMonth":6,
"dayOfWeek":1,
@timlevett
timlevett / prep.md
Last active August 29, 2015 14:21
Prep work for Open Apereo 2015 Seminar

uPortal setup

We recently added some features to uPortal on master to make adding/removing apps using angularjs-portal work. Therefore to get a full experience we suggest using the latest jasig/master version of uPortal for this seminar. It may still work with your local fork, just not all the features will work. Alternatively you could cherry-pick the changes over from master.

angularjs-portal setup

This is the basic clone and verify it builds.

git clone git@github.com:UW-Madison-DoIT/angularjs-portal.git
cd angularjs-portal
@timlevett
timlevett / DEMO.json
Last active August 29, 2015 14:27
Time and Absence smart widget
{
"report":[
{
"entitlement":"Comp Time Balance",
"balance":10.5,
"job":{
"id":0,
"mailDrop":null,
"departmentName":"DOIT/ENTERPRISE/PCS",
"title":"IS TECH SRV SPECIALIST"
@timlevett
timlevett / screenshots.md
Created August 31, 2015 20:20
Directory Widget
@timlevett
timlevett / Braindump.md
Last active September 2, 2015 20:47
Brain dump of the settings for widgets page
  • Settings come from widgets config
{
  "settings" : [
    { 
      "id" : 1,
      "Name" : "Degree Type",
      "options" : ["C","F","K"] ,
      "description" : "What degree type you would want displayed in your weather widget",
 "default" : "F"
Phantom installation failed { [Error: Command failed: tar jxf /tmp/phantomjs/phantomjs-1.9.8-linux-x86_64.tar.bz2
tar (child): bzip2: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
@timlevett
timlevett / circle-button.html
Created October 9, 2015 19:31
circle button template
<circle-button href='' target='' fa-icon=''></circle-button>
@timlevett
timlevett / steps-took.md
Last active December 2, 2015 15:25
Project static : a uw-frame review

Summary

I took some time during research day to evaluate uw-frame as a maven project. Many times we have said "why is this a maven project, it is just static content". I took that good point, and ran with it. What if frame was just static content.

Steps Taken for Test