Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

[06:46:10 EST(-0500)] * jayshao (n=jayshao@pool-68-239-246-163.nwrk.east.verizon.net) has joined ##uportal
[08:18:21 EST(-0500)] * esm (n=esm@c-68-33-241-117.hsd1.md.comcast.net) has joined ##uportal
[08:25:17 EST(-0500)] * esm_ (n=esm@207-53-192-232.dynamic-dsl.qis.net) has joined ##uportal
[09:42:59 EST(-0500)] * clown (n=clown@guiseppi.atrc.utoronto.ca) has joined ##uportal
[09:46:19 EST(-0500)] * EricDalquist (n=EricDalq@76.201.146.71) has joined ##uportal
[09:51:07 EST(-0500)] * EricDalquist (n=EricDalq@76.201.146.71) has joined ##uportal
[11:05:17 EST(-0500)] * clown_ (n=clown@guiseppi.atrc.utoronto.ca) has joined ##uportal
[11:19:18 EST(-0500)] * michelled (n=team@142.150.154.199) has joined ##uportal
[11:38:48 EST(-0500)] * athena7 (n=athena7@lumina.its.yale.edu) has joined ##uportal
[11:55:36 EST(-0500)] <EiNZTEiN> man, theme development needs to be made easier lol
[11:55:43 EST(-0500)] <EiNZTEiN> oh boy
[11:55:59 EST(-0500)] <EricDalquist> it is in up3
[11:56:07 EST(-0500)] <EricDalquist> the theme XSL is being broken up and well documented
[11:56:08 EST(-0500)] <EiNZTEiN> nice
[11:56:13 EST(-0500)] <EiNZTEiN> sweet
[11:56:14 EST(-0500)] <EiNZTEiN> =)
[11:56:39 EST(-0500)] <EricDalquist> yeah
[11:56:44 EST(-0500)] <EiNZTEiN> I'm not an XML/XSL guy and I'm swimming around this stuff
[11:56:53 EST(-0500)] <EricDalquist> and the default theme is much cleaner xhtml
[11:56:58 EST(-0500)] <EiNZTEiN> I'm tempted to make a .xsl from scratch
[11:57:05 EST(-0500)] <EiNZTEiN> I just need to know what I need to call
[11:57:05 EST(-0500)] <EricDalquist> and the skins are much cleaner
[11:57:17 EST(-0500)] <EiNZTEiN> the theme I'm developing is for a unique portlet design
[11:57:32 EST(-0500)] <EricDalquist> well if you have questions about doing specific things email uportal-user
[11:57:35 EST(-0500)] <EiNZTEiN> I don't want ppl to realize it as a channel
[11:57:38 EST(-0500)] <EricDalquist> hopefully folks there will have answers
[11:57:42 EST(-0500)] <EiNZTEiN> ya
[11:58:03 EST(-0500)] <EiNZTEiN> I subscribed there for a while... got so much "useless" (to my needs) mails that I unsubscribed (tongue)
[11:58:50 EST(-0500)] <EiNZTEiN> what's the homepage for the lists again?? (add to topic maybe? (tongue)
[11:59:26 EST(-0500)] <EricDalquist> http://www.ja-sig.org/wiki/display/JSG/uPortal+Lists
[11:59:44 EST(-0500)] * Topic is 'http://uportal.pastebin.com/ - http://www.ja-sig.org/wiki/display/JSG/uPortal+Lists&#039; set by EricDalquist on 2008-01-25 11:59:44 EST(-0500)
[11:59:47 EST(-0500)] <EricDalquist> (smile)
[11:59:59 EST(-0500)] * deuce (n=deuce@uni1.unicon.net) has joined ##uportal
[12:00:20 EST(-0500)] <EiNZTEiN> (wink)
[12:00:21 EST(-0500)] <EiNZTEiN> nice
[12:01:54 EST(-0500)] <EricDalquist> hey deuce
[12:01:59 EST(-0500)] <deuce> hey
[12:02:12 EST(-0500)] <EricDalquist> hows the titles in attributes workin?
[12:02:29 EST(-0500)] <deuce> i have everything working
[12:02:43 EST(-0500)] <EricDalquist> cool
[12:02:45 EST(-0500)] <deuce> i'm a little suspect on the filter wrapper
[12:02:52 EST(-0500)] <EricDalquist> whys that?
[12:02:53 EST(-0500)] <deuce> writer wrapper i mean
[12:04:06 EST(-0500)] <deuce> well.. i need to buffer the stream to be able to perform the replacements, but currently, if there is nothing to replace it will buffer the entire content before flushing
[12:04:42 EST(-0500)] <EricDalquist> hrm
[12:05:06 EST(-0500)] <EricDalquist> streaming replacement should work ... but may be a bit more CPU intensive
[12:05:42 EST(-0500)] <EricDalquist> well ...
[12:05:43 EST(-0500)] <EricDalquist> hrm
[12:05:46 EST(-0500)] <deuce> you mean without buffering?
[12:05:55 EST(-0500)] <EricDalquist> do you have a diff or some such you could post?
[12:06:12 EST(-0500)] <deuce> i could post the whole class
[12:06:18 EST(-0500)] <deuce> it's a new file
[12:06:20 EST(-0500)] <EricDalquist> ok
[12:06:26 EST(-0500)] <deuce> to where?
[12:06:39 EST(-0500)] <EricDalquist> actually if you want to zip up your changes and attach them to the jira issue?
[12:06:42 EST(-0500)] <EiNZTEiN> how the heck do I get to the mail preferences on uporta-user ML?
[12:06:50 EST(-0500)] <EiNZTEiN> I'm a member already so I can't subscribe again
[12:06:59 EST(-0500)] <EiNZTEiN> and I can't get to the mail preferences (can't find it)
[12:07:04 EST(-0500)] <EiNZTEiN> grrrrrrrrrr
[12:07:16 EST(-0500)] <EricDalquist> https://lists.wisc.edu/read/my_account/edit?forum=uportal-user
[12:07:21 EST(-0500)] <EricDalquist> I think
[12:07:39 EST(-0500)] <EricDalquist> that is the edit settings link from the uportal-user wiki page
[12:08:02 EST(-0500)] <EiNZTEiN> oh I see
[12:08:03 EST(-0500)] <EiNZTEiN> I'll try
[12:08:23 EST(-0500)] <EiNZTEiN> worked
[12:08:53 EST(-0500)] <EiNZTEiN> sorry
[12:08:58 EST(-0500)] <EiNZTEiN> I missed that link :S
[12:09:27 EST(-0500)] <EricDalquist> no problem
[12:12:10 EST(-0500)] <deuce> ok it's attached. So it works by looking for double quotes that triggers the replacements. I'm sure it can be optimized, but at this point it's a prototype
[12:15:47 EST(-0500)] <EricDalquist> cool
[12:15:55 EST(-0500)] <EricDalquist> I'll go take a look
[12:16:10 EST(-0500)] <EricDalquist> I had a few ideas on the bus ride to work yesterday but forgot to write them down (tongue)
[12:18:50 EST(-0500)] <EiNZTEiN> the yale portal looks decently appealing
[12:29:01 EST(-0500)] <deuce> hehe
[12:46:54 EST(-0500)] <EiNZTEiN> but it's completely "hacked"
[12:47:01 EST(-0500)] <EiNZTEiN> (in terms of what the original uportal is)
[12:48:46 EST(-0500)] * dstn (n=dstn@134.250.4.77) has joined ##uportal
[12:49:16 EST(-0500)] <dstn> Hey Eric are you here?
[12:50:09 EST(-0500)] <EricDalquist> hi
[12:51:59 EST(-0500)] <dstn> Hey how's it going?
[12:52:15 EST(-0500)] <EricDalquist> busy
[12:52:16 EST(-0500)] <EricDalquist> as always
[12:52:56 EST(-0500)] <dstn> Have you had a chance to look at my post on the user list about the weather channel?
[12:53:21 EST(-0500)] <EricDalquist> um, I wasn't really paying attention to that thread
[12:53:31 EST(-0500)] <EricDalquist> btw, who is dstn ?
[12:53:53 EST(-0500)] <dstn> Dustin S. on the list
[12:54:00 EST(-0500)] <EricDalquist> ah
[12:54:10 EST(-0500)] <EricDalquist> so your message about a default weather portlet?
[12:54:11 EST(-0500)] <dstn> Dustin nick was already taken...lol
[12:54:28 EST(-0500)] <EricDalquist> if someone gets a JSR-168 portlet with no usage/license issues
[12:54:33 EST(-0500)] <EricDalquist> just let me know
[12:54:35 EST(-0500)] <EricDalquist> and we can include it
[12:54:45 EST(-0500)] <dstn> ok cool
[12:55:11 EST(-0500)] <EricDalquist> unfortunatly I don't think we can swing including any that have 'non comercial' clauses
[12:55:40 EST(-0500)] <EricDalquist> that puts a big onus on us to document that the portlet is only for demo purposes and they have to remove it before actually using uportal
[12:56:29 EST(-0500)] <dstn> Weather.com has a xml service that is pretty open in its licensing. It does however require user's to register for an developer key, kind of like the google api portlet. I've read the agreement and it doesn't mention anything about commercial usage
[12:56:57 EST(-0500)] <dstn> it would require a weather.com logo as well
[12:57:15 EST(-0500)] <dstn> this is the license agreement I'm referring to: https://registration.weather.com/common/eula/wowStandard.html
[12:57:25 EST(-0500)] <EricDalquist> so we've tried things like that before with a google api portlet
[12:57:30 EST(-0500)] <EricDalquist> no one ever used it
[12:57:39 EST(-0500)] <EricDalquist> cause you had to go get your own key since we can't ship one
[12:57:45 EST(-0500)] <dstn> Ok, that was one of my questions...
[12:57:51 EST(-0500)] <dstn> hmm
[12:57:59 EST(-0500)] <EricDalquist> this is the problem with most services like this
[12:58:09 EST(-0500)] <EricDalquist> having a well documented weather portlet on the wiki would be good
[12:58:35 EST(-0500)] <EricDalquist> having a portlet that consumes that XML and displays a nice UI to enter the key in if there is no key would work
[12:58:43 EST(-0500)] <dstn> Ya...I was happy to find one that didn't explicitly state non-commercial usage but the key thing was a but of a downer
[12:58:56 EST(-0500)] <dstn> ok
[12:59:01 EST(-0500)] <EricDalquist> yeah, most services have that sort of trade off
[12:59:17 EST(-0500)] <EricDalquist> either it just works but we can't really include it because it can't be used by most people using uportal
[12:59:28 EST(-0500)] <EricDalquist> or it doesn't work out of the box cause the have to get a key
[12:59:29 EST(-0500)] <EricDalquist> (sad)
[12:59:40 EST(-0500)] <EricDalquist> I wonder if NOAA has a weather feed
[12:59:47 EST(-0500)] <dstn> lol, its sixes
[13:00:06 EST(-0500)] <dstn> NOAA seemed to only provide for the states and surrounding waters, it didn't include international
[13:00:41 EST(-0500)] <EricDalquist> yup
[13:01:01 EST(-0500)] <EiNZTEiN> how do I make the "logged out" layout use a theme?
[13:01:03 EST(-0500)] <EiNZTEiN> :S
[13:01:21 EST(-0500)] <EricDalquist> so ... I guess the answer is, I'll be more than happy to include a weather portlet in up3 if we can find ways around those issues
[13:01:39 EST(-0500)] <EricDalquist> but I would need the portlet in the next 2-3 weeks for it to make it in
[13:03:46 EST(-0500)] <dstn> k, I would really like to get something in the works. I'll work on something this weekend and get back with ya.
[13:03:57 EST(-0500)] <EricDalquist> sounds good (smile)
[13:06:17 EST(-0500)] <EricDalquist> hrm ...
[13:06:54 EST(-0500)] <EricDalquist> so I remembered what I was thinking about for this string replacement stuff
[13:07:30 EST(-0500)] <EricDalquist> lets see if I can type it out in IRC coherently
[13:10:09 EST(-0500)] <EricDalquist> expanding on the simple token idea and the idea for the List<ICacheEntry> idea we talked about a while back
[13:10:44 EST(-0500)] <EricDalquist> so the CharacterCachingChannelIncorporationFilter knows if character caching is happening or not
[13:10:56 EST(-0500)] <EricDalquist> this first bit is if ccaching is enabled
[13:11:54 EST(-0500)] <EricDalquist> hrm ...
[13:11:56 EST(-0500)] <EricDalquist> actuall
[13:12:06 EST(-0500)] <EricDalquist> actually I'm going to go write this out first
[13:12:16 EST(-0500)] <EricDalquist> I keep revising it as I type
[13:13:57 EST(-0500)] <EiNZTEiN> is there a reference for the themes anywhere?
[13:14:11 EST(-0500)] <EiNZTEiN> what I need to call in order to get what
[13:14:24 EST(-0500)] <EiNZTEiN> cuz I want to build the xhtml-theme from scratch
[13:14:29 EST(-0500)] <EiNZTEiN> and I want to take most out
[13:14:39 EST(-0500)] <EiNZTEiN> users won't have any design options
[13:14:42 EST(-0500)] <EricDalquist> so
[13:15:11 EST(-0500)] <EiNZTEiN> only one channel
[13:15:12 EST(-0500)] <EricDalquist> in portal.properties
[13:15:12 EST(-0500)] <EiNZTEiN> etc...
[13:15:23 EST(-0500)] <EricDalquist> org.jasig.portal.UserInstance.log_xml_before_theme_transformation
[13:15:25 EST(-0500)] <EricDalquist> set that to true
[13:15:38 EST(-0500)] <EricDalquist> and make sure the log level is set to debug in Logger.properties
[13:15:59 EST(-0500)] <EricDalquist> when you click through the portal you will see the entire XML document that is passed to the theme transform written to the log
[13:16:06 EST(-0500)] <EiNZTEiN> hmmm
[13:16:10 EST(-0500)] <EricDalquist> you can take that and develop your theme from that
[13:16:57 EST(-0500)] <EricDalquist> or
[13:17:05 EST(-0500)] <EricDalquist> if you want to see what the new up3 theme is based on
[13:17:06 EST(-0500)] <EricDalquist> http://www.ja-sig.org/issues/browse/UP-1914
[13:17:14 EST(-0500)] <EricDalquist> go look at the zip file attached to that issue
[13:17:23 EST(-0500)] <EricDalquist> I'm not sure it will drop in to 2.6
[13:17:42 EST(-0500)] <EricDalquist> but the comments in the jira issue and child issues should give you an idea of what the few incompatibilities are
[13:17:54 EST(-0500)] <EricDalquist> the XSL in that zip is much easer to comprehend
[13:17:59 EST(-0500)] <EiNZTEiN> nice
[13:18:13 EST(-0500)] <EiNZTEiN> so you're saying I can probably base myself off of that XSL?
[13:19:12 EST(-0500)] <EricDalquist> yeah
[13:19:27 EST(-0500)] <EricDalquist> I think there are some parameters that it looks for that aren't passed to the theme in 2.6
[13:19:33 EST(-0500)] <EricDalquist> but you may not need those
[13:19:43 EST(-0500)] <EiNZTEiN> ya
[13:19:45 EST(-0500)] <EiNZTEiN> great
[13:19:47 EST(-0500)] <EiNZTEiN> (smile)
[13:19:48 EST(-0500)] <EiNZTEiN> thanks
[13:19:50 EST(-0500)] <EricDalquist> yup
[13:20:02 EST(-0500)] <EricDalquist> remember ... this is being targeted toward up3
[13:20:23 EST(-0500)] <EricDalquist> so there may be some things that don't work quite right in 2.6 and will require a bit of work on your part
[13:20:23 EST(-0500)] <EricDalquist> but
[13:20:25 EST(-0500)] <EiNZTEiN> my current frustration is that my org picked uportal because we're using an eportfolio channel built for ISU (Iowa State)
[13:20:30 EST(-0500)] <EiNZTEiN> we just need that one channel
[13:20:48 EST(-0500)] <EiNZTEiN> so it feels like using a huge titanic-sized solution, to... "cross a small river"
[13:20:52 EST(-0500)] <EiNZTEiN> :/
[13:20:53 EST(-0500)] <EricDalquist> ah
[13:20:56 EST(-0500)] <EricDalquist> yeah ...
[13:21:04 EST(-0500)] <EiNZTEiN> oh well
[13:21:05 EST(-0500)] <EricDalquist> you may want to email the user list with that problem statement
[13:21:11 EST(-0500)] <EricDalquist> there may be more elegant solutions
[13:21:20 EST(-0500)] <EiNZTEiN> I'll do that
[13:21:24 EST(-0500)] <EricDalquist> I think there may actually be a servlet in uPortal to render a single channel
[13:21:28 EST(-0500)] <EricDalquist> no layout or anytnhing
[13:21:32 EST(-0500)] <EiNZTEiN> hmmm
[13:21:36 EST(-0500)] <EiNZTEiN> that would be interesting
[13:52:04 EST(-0500)] * clown (n=clown@guiseppi.atrc.utoronto.ca) has joined ##uportal
[13:57:26 EST(-0500)] <EricDalquist> hey deuce
[13:57:28 EST(-0500)] <EricDalquist> so
[13:57:33 EST(-0500)] <EricDalquist> after writing out a few ideas
[13:57:57 EST(-0500)] <EricDalquist> I think the way to go is that we don't use a <channel-title> element at all
[13:58:04 EST(-0500)] <EricDalquist> just have stylesheets use the string token
[13:58:24 EST(-0500)]

Wiki Markup
&lt;EricDalquist&gt; perhaps a bit tweaked from your example: UP-CHANNEL-TITLE-{ID} examples would look like UP-CHANNEL-TITLE-{u8l1n32} or UP-CHANNEL-TITLE-{92}

[13:59:13 EST(-0500)] <EricDalquist> and to make the Writer filter more efficient it is a bit more complicated
[14:01:18 EST(-0500)] <EricDalquist> I'm going to look at just writing an example
[14:01:31 EST(-0500)] <deuce> ok.. i'll be out for about an hour. let's chat more about this when i get back
[14:01:34 EST(-0500)] <deuce> sounds good
[14:01:38 EST(-0500)] <EricDalquist> cool