| ![]() Ceroc Scotland Homepage |
| |||||||
| Forum technical problems / Questions / Suggestions.. Report any problem or ask a question about the Forum... Problems with registration, post here. guests / unregistered can post here |
| Quick News |
- Residential Focus BLUES Week-ender 5th/7th September. Friday, Saturday & Sunday parties open to everyone... With extra Blues Room on the Saturday night. - Utopia Scotland Week-end: 27th/28th Sept. Edinburgh. @ St Stephens, Stockbridge,Edinburgh. A Special week-end of Blues workshops and Utopia party nights + tea-dance with Guest teachers/DJ: Val & Dave. Upgrade your Forum experience, become a SILVER MEMBER! Benefits of Silver membership: - View what everyone is up to on the 'Who's online page, be invisible on the Forum, Create your own Blog, Join the Chat Rooms :) Remove Google Adverts, Filter new posts to avoid certain areas (e.g. Fun & Games, Chit Chat, Geek corner, etc...) when searching new posts, choose a custom avatar and have a Signature! Join today from as little as £6.00 |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| Registered User Join Date: Jul 2005 Location: Edmonton, AB
Posts: 2,346
Status: No Status
Rep Power: 2 Rep.: 1053 ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Private Message Dump to HTML I was bored and I'm a geek. Therefore I spent a little bit of time developing an XSLT stylesheet to take a PM XML dump and render it in HTML (not in a very pretty way though). My aim was to allow it to be transformed on a browser (which excluded some of the new toys you get in XSLT 2.0 ). I'm sure you don't care about what I feel it is missing though.Hopefully the stylesheet should be attached, as a zip file since I couldn’t upload an XML or XSLT file (along with a sample, and fictional, private message file). To use it on your own private messages there is an option to "Download All Private Messages as:" XML then you'll need to open that file in some form of text editor (like notepad ) and add the line: <?xml-stylesheet type="text/xsl" href="pm2html.xsl" ?> just under the first line so it should look something like: <?xml version="1.0" encoding="ISO-8859-1"?> <?xml-stylesheet type="text/xsl" href="pm2html.xsl" ?> (assuming you put the pm2html.xsl file in the same directory as the private message file). Then you should be able to open up your private message file in the browser and hey presto! an achieve (not a very pretty one) of your PMs. As XSLT isn't that good at text parsing then it is unlikely I'll ever add a way to see quotes highlighted in a particular way or smilies to appear. Anyway I made it for my own use but if you do use it I'd love to know what you thought. Hope these instructions are ok and if not I can try clarifying anything. Also if people think it would be handy I can upload the XSLT onto a server somewhere. Oh. I should mention it works under IE but looks a bit crap (since it doesn't do word wrap). Good under Firefox and I haven't had a chance to see if it works under Safari or Opera yet. |
| | |
| | #2 (permalink) |
| Taxi Dancer Join Date: Dec 2002 Location: Tarbrax
Posts: 2,378
Status: No Status
Rep Power: 3 Rep.: 880 ![]() ![]() ![]() ![]() ![]() ![]() | Re: Private Message Dump to HTML Wooooosh! Hope it works for all of you that understood that.
__________________ "Everything that happens to you is your teacher. The secret is to sit at the feet of your own life and be taught by it." Mahatma Gandhi |
| | |
| | #3 (permalink) | |
| Lovely Moderator Join Date: Feb 2005 Location: Glasgow
Posts: 9,653
Status: Looking forward to driving to Dundee!
Blog Entries: 1 Rep Power: 6 Rep.: 3290 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Re: Private Message Dump to HTML Quote:
Sometime I'll write a perl script to turn the text output into mbox format files... (Expecting to hear another whoosh any moment now...)
__________________ Let your mind go and your body will follow. – Steve Martin, LA Story | |
| | |
| | #5 (permalink) | |
| Registered User Join Date: Jul 2005 Location: Edmonton, AB
Posts: 2,346
Status: No Status
Rep Power: 2 Rep.: 1053 ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Re: Private Message Dump to HTML Quote:
I think this is a sort of wait and see bug. Good to know that Safari does XML+XSLT though . | |
| | |
| | #6 (permalink) |
| Senior Member Join Date: Mar 2003 Location: Midlands
Posts: 2,174
Status: No Status
Rep Power: 3 Rep.: 740 ![]() ![]() ![]() ![]() ![]() ![]() | Re: Private Message Dump to HTML Afraid I don't understand most of that - what I did was to export to XML, then set up a mini database in Access & import it in - it doesn't do smilies or quotes, but it sounds like Killingtime's doesn't either. I have Access 2003 - not sure if earlier versions of Access would cope with XML. I imagine there are cheaper/free database packages that could do the same thing.
__________________ Love dance, will travel |
| | |
| | #7 (permalink) | ||
| Registered User Join Date: Jul 2005 Location: Edmonton, AB
Posts: 2,346
Status: No Status
Rep Power: 2 Rep.: 1053 ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Re: Private Message Dump to HTML Quote:
.Quote:
. | ||
| | |
| | #8 (permalink) | |
| Meglio del Cioccolato Demo Join Date: Jan 2003 Location: Edinburgh
Posts: 1,484
Status: No Status
Rep Power: 3 Rep.: 811 ![]() ![]() ![]() ![]() ![]() ![]() | Re: Private Message Dump to HTML Quote:
! | |
| | |
| | #10 (permalink) | |
| Registered User Join Date: Jul 2005 Location: Edmonton, AB
Posts: 2,346
Status: No Status
Rep Power: 2 Rep.: 1053 ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Re: Private Message Dump to HTML Quote:
. | |
| | |
| | #11 (permalink) | ||
| Ceroc N.I. Franchise Owner Join Date: Aug 2004 Location: Bangor, Northern Ireland
Posts: 7,787
Status: is at kirriemuir!!!
Rep Power: 5 Rep.: 1325 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Re: Private Message Dump to HTML Quote:
![]() Quote:
![]()
__________________ "A person's a person no matter how small" Horton hears a Who | ||
| | |
| | #12 (permalink) | ||
| Registered User Join Date: Jul 2005 Location: Edmonton, AB
Posts: 2,346
Status: No Status
Rep Power: 2 Rep.: 1053 ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Re: Private Message Dump to HTML Quote:
| ||
| | |
| | #13 (permalink) | |
| Senior Member Join Date: Mar 2003 Location: Midlands
Posts: 2,174
Status: No Status
Rep Power: 3 Rep.: 740 ![]() ![]() ![]() ![]() ![]() ![]() | Re: Private Message Dump to HTML Quote:
Like killingtime I had to delete some PMs due to full mailbox - unless you want to lose them altogether it seems reasonable for us to work out our various ways to view them...
__________________ Love dance, will travel | |
| | |
| | #14 (permalink) | |
| Registered User Join Date: Jun 2005 Location: In the corner
Posts: 4,508
Status: No Status
Rep Power: 4 Rep.: 2319 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Re: Private Message Dump to HTML Quote:
![]() EDIT: just realised that you're paid up DavidY - 4000 messages and you still ran out of space ![]() | |
| | |
| | #15 (permalink) | |
| Senior Member Join Date: Mar 2003 Location: Midlands
Posts: 2,174
Status: No Status
Rep Power: 3 Rep.: 740 ![]() ![]() ![]() ![]() ![]() ![]() | Re: Private Message Dump to HTML Quote:
)
__________________ Love dance, will travel | |
| | |
|
Advertisement
| Sponsored links |
![]() |
| Bookmarks |
| Tags |
| dump, html, message, private |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Incorrectly unconfirmed private message receipts | ducasi | Forum technical problems / Questions / Suggestions.. | 4 | 18th-May-2005 12:31 PM |
| Putting an image in a private message | Northants Girly | Forum technical problems / Questions / Suggestions.. | 1 | 20th-October-2004 02:26 PM |
| testing HTML | Gadget | test messages | 6 | 8th-August-2004 03:43 PM |
| Dump Internet Explorer | Dreadful Scathe | Chit Chat | 7 | 25th-June-2004 11:34 AM |
| message displays | Chris | test messages | 3 | 11th-September-2003 07:32 PM |
| These are the 100 most used thread tags
Tag Cloud
|
| 2005 2006 2007 2008 aberdeen advice aftermath april ashtons august baby back ball ballroom beach beginners big blackpool blaze blues camber car ceroc champs change christmas class competition dance dancer dancers dancing day dec dvd edinburgh feb free freestyle friday game glasgow hammersmith jan jive july june lead life lift london make male man march men modern move music needed night partner people photos question rep room sat saturday scotland scottish shoes song southport strictly sunday swing tango teachers test thread ticket time tips tonight tracks utopia venue video wanted wcs week weekend weekender weekenders west women work workshop world |