|
Register or have you forgotten your password?
|
|
|
| Amiga Software Issues and Discussion This forum exists for the discussion of the use, issues with, and fun brought about by classic and next generation Amiga software. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 | ||||||||
|
Cult Member
![]()
|
I'm writing some software for myself to bulk decode newsgroups, but there's one thing puzzling me..
Whole messages have a BEGIN and END. On multipart messages, the END may be 10 messages away. The question I have is this: Is there sure-fire way of determining which parts of a post contains the encoded bits? I know the lines begin with M but what else do I look for? (Line length?) I'd appreciate any suggestions.. |
||||||||
|
|
|
|
|
#2 | ||||||||
|
Too much caffeine
![]()
Join Date: Feb 2002
Location: Titograd, Socialistična Federativna Republika Jugoslavija
Posts: 100
|
Yup as Far as I Remember, the structure, was something like that
BEGIN 664 .... Mxxxxxxxxxxxx Mxxxxxxxxxxxx Mxxxxxxxxxxxx Mxxxxxxxxxxxx END AFAIK the line lenght was always the same... Antonio
__________________
zurtito AmigaOS user since 1989 MorphOS user since 2003 |
||||||||
|
|
|
|
|
#3 | ||||||||
|
Cult Member
![]()
|
Perhaps it's just paranoia on my part, but I envisioned some [self censored] posting a message that mimics a uuencoded set of messages.
Anyhoo, I've pretty much got it all figured out how to deal with this crap correctly. For multipart messages, the program does the following: Basically, an entire newsgroup is processed. The "one part" messages are encoded while multiparts are saved to a temp directory. Once the entire group is processed, it goes in the temp directory, finds all parts for a file and sorts them, creates the single part file and decodes it if all the files are present. (If you don't have all the files, it'll just leave them in case you get the rest later.) What I'm eventually hoping for is two things: Fetching news at intervals (like every half hour) and temp files that are only stored for a set period. That way, you have x amount of time for the complete set to arrive before it removes the files. Oh yeah.. And I suppose a gui/prefs at some point would help too. :-) (And to think.. I'm only doing this because I'm too cheap/can't afford a similar program on the PC. ;-)) |
||||||||
|
|
|
|
|
#4 | ||||||||
|
Premium Member
Join Date: Jun 2002
Posts: 5,124
|
> (And to think.. I'm only doing this because I'm too cheap/can't afford a similar program on the PC. )
I use Grabit (for windows) under Winex3 in linux (because the binary downloaders for linux SUCK) It's free. |
||||||||
|
|
|
|
|
#5 | |||||||||
|
Desperately needs a life
![]()
Join Date: Sep 2003
Posts: 3,056
|
Quote:
|
|||||||||
|
|
|
|
|
#6 | |||||||||
|
Technoid
![]()
Join Date: Sep 2002
Posts: 497
|
@Madgun68:
Quote:
|
|||||||||
|
|
|
|
|
#7 | ||||||||
|
Cult Member
![]()
|
Well, I do want a solution for the Amiga/Morphos too. I'm not writing a complete newsreader. This just works with NewsCoaster.
The uudecoding section is (hopefully) complete. I just need to add the ydec stuff and make sure it works on large multi-part stuff. |
||||||||
|
|
|
|
|
#8 | ||||||||
|
Cult Member
![]()
|
This has been an interesting experience to say the least. There are several bulk yenc encoders that don't properly follow the guidelines that I've had to make adjustments for.. And now I need to make some changes because several of the amiga's uudecoders are ignorant.
The program is working quite well though! I've probably completed 90% of the functionality, and the multipart decoder has been tested with archives that span over hundreds of messages. Now if I only had a dime for every mistake I've made or every time I've decided to rewrite part of the program.. |
||||||||
|
|
|
![]() |
| Bookmarks |
| Tags |
| bulk , decoding , newsgroup , question , wasuudecode |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mpeg II Decoding | Animagic | Amiga Hardware Issues and discussion | 8 | 08-20-2006 06:43 AM |
| Decoding Versions | irishmike | Amiga Software Issues and Discussion | 3 | 05-24-2006 01:33 PM |
| Amiga Magazines in bulk ? | Edpon | General chat about Amiga topics | 0 | 10-16-2005 09:56 PM |
| Plea for help!! Can't uudecode a crucial file! | dandelion | Amiga Software Issues and Discussion | 2 | 01-28-2004 04:21 AM |
| MP3 decoding with SBLive! | whabang | Alternative Operating Systems | 33 | 03-27-2003 05:50 AM |