|
Thats a good point
Regards,
Brian Dela
|
|
|
|
|
Well, that was not my major concern. I just hate the droplist which doesnt show any counts and is bad to use. But, yes, thats a point too
...if you're under 8 or younger. Chris Maunder, the Lounge
|
|
|
|
|
Already we can change our name color for posted names usin a bit of hTmL,
But would it be any use if your name color was in the preferences ?
Regardz
Colin J Davies
Sonork ID 100.9197:Colin
You are the intrepid one, always willing to leap into the fray! A serious character flaw, I might add, but entertaining.
Said by Roger Wright about me.
|
|
|
|
|
But then everyone will have horribly coloured names, rather than just the knowledgable people doing it (and hopefully they've got enough sense to not pick horrible colours)
--
Help me! I'm turning into a grapefruit!
|
|
|
|
|
hopefully they've got enough sense to not pick horrible colours.
this is my signature for forums quoted from shog*9:
I can't help but feel, somewhere deep within that withered, bitter, scheming person, there is a small child, frightened, looking a way out.
|
|
|
|
|
|
Yes,I like the idea.
Sometimes I hate almost everyone has the same black name.
this is my signature for forums quoted from shog*9:
I can't help but feel, somewhere deep within that withered, bitter, scheming person, there is a small child, frightened, looking a way out.
|
|
|
|
|
Good idea, as long as it's restricted to gold members.
Let Q = the set of all quotes, ever S = {a: a € Q : a is funny, a is nerdy } a1 a2...an
|
|
|
|
|
any chance of RSS feeds for codeproject (preferably one for new articles, and one for lounge topics!)
In case you're wondering, Trillian Pro[^] has a RSS plugin, that monitors feeds and gives you a little MSN style popup when new content appears, which I think is brilliant!
--
Help me! I'm turning into a grapefruit!
|
|
|
|
|
benjymous wrote:
any chance of RSS feeds for codeproject (preferably one for new articles, and one for lounge topics!)
You could always tap into the CP webservices (like the ones I used in my CP+ article) and generate an RSS feed which Trillian then points to.
|
|
|
|
|
Hmm, that might be a neat little project - an app you run on your computer that can be configured to read in web data from one source (a service, or just a normal web page), and convert it into an RSS feed.
Is there an easy way of using web services from VC6 (I can't afford .NET yet)
--
Help me! I'm turning into a grapefruit!
|
|
|
|
|
benjymous wrote:
an app you run on your computer that can be configured to read in web data from one source (a service, or just a normal web page), and convert it into an RSS feed.
Is there an easy way of using web services from VC6 (I can't afford .NET yet)
You don't need to even go to all the trouble of using SOAP and the webservice proxy etc. etc. All you need to do is call the URL of the web service with the required parametres and it returns an XML document.
So you could actually have a simple app which transforms (using XSL naturally) the returned XML document into a RSS document.
Wow, actually that sounds great Let me go and do it quick
btw. you can see how to use a web service directly (without soap etc.) in my CP+ article, though it does use .NET classes, you could use the HTTPResponse objects in "normal" C++ I am sure. It is just XML doc over HTTP.
|
|
|
|
|
To work from trillian pro, it'll need to run as a mini web server (of course all it'll serve is the RSS feeds). Trillian lets you set the port, so it doesn't have to run on port 80
Do you think you could create some sort of simple query language to make it easy to parse any input data (such as html pages)
--
Help me! I'm turning into a grapefruit!
|
|
|
|
|
Yes - it will happen.
cheers,
Chris Maunder
|
|
|
|
|
yay, thanks
Just as a point of reference, it only took me about half an hour to make a perl script to generate the rss feed for my site (as I just hacked apart the code that generates the html for the main page and modified it to format in the rss xml format instead)
http://www.grapefruitopia.com/cgi-bin/blogfeed.cgi[^]
--
Help me! I'm turning into a grapefruit!
|
|
|
|
|
|
Cool - I'll give it a try when I get home
--
Help me! I'm turning into a grapefruit!
|
|
|
|
|
That was fast!!!
Regards,
Brian Dela
|
|
|
|
|
Brian Delahunty wrote:
That was fast!!!
Well considering all it involves is two files, it was fast
The ASPX file simply takes an XSL file and transforms the returned XML file (which CP gives me on a silver platter) into an RSS compliant XML file. Funnily enough I first tried to do it in normal ASP, but it proved to be very unreliable (MSXML through ASP does not like loading remote XML docs strangely) and then in ASP.NET. ASP.NET was far better and fewer lines of code.
|
|
|
|
|
Paul Watson wrote:
The ASPX file simply takes an XSL file and transforms the returned XML file (which CP gives me on a silver platter) into an RSS compliant XML file. Funnily enough I first tried to do it in normal ASP, but it proved to be very unreliable (MSXML through ASP does not like loading remote XML docs strangely) and then in ASP.NET. ASP.NET was far better
To be honest I know very little about XML and ASP.NET... only starting in those areas now. So.. Any suggestions on where to start???
Regards,
Brian Dela
|
|
|
|
|
Brian Delahunty wrote:
To be honest I know very little about XML and ASP.NET... only starting in those areas now. So.. Any suggestions on where to start???
XML and it's kin (XSL, XSL:FO, SVG etc. etc.) I love, it is truly awesome stuff. ASP.NET is quite nice (I like .NET, but I think ASP.NET is not ready for prime time...)
Saying that here are some resources (all open in a new window, respek' to Chris):
I recommend for pure interest sake that you get into XML and XSL. Check out the sublime feeling when you take an XML data file and transform it into and XHTML doc with XSL, simple but just so cool. Something about it that just rocks.
And of course you can always just ask me, or post a question in the XML/XSL forum.
|
|
|
|
|
Paul Watson wrote:
I recommend for pure interest sake that you get into XML and XSL. Check out the sublime feeling when you take an XML data file and transform it into and XHTML doc with XSL, simple but just so cool. Something about it that just rocks.
What do you normally use it for... Personally I probably won't have much use fot XML, XSL etc at the moment but hopefully in the future.. What do you normally use it for.. if you don't mind me asking.
Regards,
Brian Dela
|
|
|
|
|
Brian Delahunty wrote:
What do you normally use it for
Mainly for our content management systems for websites. We store the content in XML files and use XSL to transform it to HTML and then send it to the client browser.
Also recently used XML to power an SVG graph using XSL (an article for CP on that soon.)
XML is also damned nice for app settings (better than an INI file or using the registry.)
XML also makes more sense than a relational database (like SQL or Oracle) when the data is hierarchical.
And finally the thing that XML is used for the most, and which we have done with great joy, is integration. Maybe a legacy accounting package which outputs to CVS and needs to be integrated into a new web site. Using XSL and XML for that is great.
|
|
|
|
|
Cool .Thanks for the info Paul. I know I shoudl know all this stuff already but I just hadn't the time. I didn't even knwo you had XML data files!!! --> How is the data stored in these??? [Please tell me to bugger off If I'm annoying you]
Regards,
Brian Dela
|
|
|
|
|
Brian Delahunty wrote:
How is the data stored in these???
XML is a text format and you just store your XML text in a, well, text file with a .XML extension.
Here is a very simple XML snippet which you can save to brian.xml and have your first XML document/file.
<?xml version="1.0" encoding="utf-8"?>
<cpians>
<cpian id="144040">
<firstname>Brian</firstname>
<lastname>Delahunty</lastname>
<birthdate>01 January 1901</birthdate>
</cpian>
<cpian id="42">
<firstname>Baba</firstname>
<lastname>Jub</lastname>
<birthdate>24 October 1979</birthdate>
</cpian>
</cpians>
In that cpians is the "root" node which contains all other nodes. Then there is a list of cpian nodes, in which are standard elements (fields) like firstname and birthdate .
The id bit is called an attribute btw.
It is really very simple to get the basics in.
|
|
|
|