Login
Register
09-09-2010

Resources for the DotNetNuke Community


Support this site

  Support forums  

You need to be logged in in order to post to this forums.
SearchForum Home
  DotNetNuke Development  Templates  Text Config pro...
 Text Config problems... 50 bonus points if someone can help...
 
imgOfflinevoxandrew
2 posts
www.us1radio.com
Joined
5/28/2006

Text Config problems... 50 bonus points if someone can help...
Posted: 27 May 06 4:56 PM
 

As a DNN newbie, I'm sure there's an easy way around this, just not sure where to look or start.  Here's the scoop:

I'm managing a couple websites for a group of radio stations in the Florida Keys.  We're working on a "NOW PLAYING" module of our DNN-created sites.  Our automation system at the station automatically sends a small text file [contains artist/title info on what's playing now,] to the root directory of the website. 

I'm presently using the I-Frame module to display the text file.  The info is fine, but I want to be able to configure the text to match the text color and background color of the text in the rest of the modules.  Right now, it's just using a basic text font, and a white background. 

Somehow I need to get this text configured and formatted before it gets displayed on the site.  Any suggestions?  I had downloaded a small flash file from the website for our automation system but it just never worked.  I'm not looking for anything flashy or fancy... just display the text info. 

Thanks...

Andrew

imgOfflinednnjungle
151 posts
5th
Joined
3/13/2005

Re: Text Config problems... 50 bonus points if someone can help...
Posted: 29 May 06 7:06 AM
You have a couple options:
- store that file in HTML format and set all the formating right there
- build a module that simply reads that file and displays the text as you want
- store the file in XML format and use the XML/XSL module to display it using a custom .xsl file

Disgrafic.com
imgOfflinevoxandrew
2 posts
www.us1radio.com
Joined
5/28/2006

Re: Text Config problems... 50 bonus points if someone can help...
Posted: 29 May 06 1:04 PM

Okay... as somewhat of a DNN newbie, here's what I know (& don't know):

(1) We don't have the ability to store the file as HTML or format it there.

(2) I have no clue how to even build a module.

(3) I CAN store the file in XML format, but have never used the XML/XSL module.   Also I wouldn't know how to create a custom .xsl file.

Any suggestions are very welcome.  If you want to email me directly, click here.

Thanks!

Andrew Cannon, ops mgr
WWUS / WCNK / WAVK / WWWK Radio

(& self appointed DNN newbie)

imgOfflinednnjungle
151 posts
5th
Joined
3/13/2005

Re: Text Config problems... 50 bonus points if someone can help...
Posted: 30 May 06 12:04 AM
The idea behind xml/xsl is simple:
- xml file contains the actual data/information in a well defined structure
- xsl reads that structured data and transforms it to produce a custom output

You can find more help on xsl/xslt on http://www.w3schools.com/xsl/xsl_languages.asp

And here is a very simple example http://www.w3schools.com/xsl/xsl_transformation.asp

What the DNN xml/xsl module does is just display the output of an xsl transformation aplied to a given xml file.

Disgrafic.com
  DotNetNuke Development  Templates  Text Config pro...
© Vicenç Masanas Terms Of Use Privacy Statement   
.