1 Attachment(s)
How can I make an NFO display pretty in a browser?
View an NFO here on filesharingtalk.com:
http://filesharingtalk.com/vb3/f-mov...vdr-jkr-386890
Then view the same one on binsearch:
http://www.binsearch.info/viewNFO.ph...492120&server=
Attachment 6368
How do I do that? :unsure:
It must have something to do with character encoding, but I don't know too much about that stuff. Does anybody have any ideas?
Re: How can I make an NFO display pretty in a browser?
I found this in the HTML source of that page:
HTML Code:
<style type="text/css">
pre { font-family: "Courier New", "DejaVu Sans Mono", monospace; font-size: 13px; line-height: 14px; }
</style>
But I don't think it's related. Perhaps the program the NZB uploaders are using to open and copy the NFOs is showing them as what we see on the posts, instead of box drawing characters:
Code:
▓▌ ██▌ ██▌▓██▓█ ▓█████
▐█ ▐█▓▐ ▐█▓ ▓▌▐▌▐▓ ▓▌
▓▌ ██▌ ▌██▌ ▐█▄ ▓▌ ▐▓
▐▓ ▐█▓ ▐█▓ ▓▌ ▐▓▌▄▄▓▌
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
Edit: it doesn't look that nice here, even with the boxes, so maybe that CSS code does have something to do with it :unsure:
Re: How can I make an NFO display pretty in a browser?
Re: How can I make an NFO display pretty in a browser?
It's a combination of both the CSS code and something else (character encoding?).
If you apply that CSS to what you copied it will look exactly like on binsearch.
The problem is I don't know how to convert:
Code:
²Ý ÛÛÝ ÛÛݲÛÛ²Û ²ÛÛÛÛÛ
ÞÛ ÞÛ²Þ ÞÛ² ²ÝÞÝÞ² ²Ý
²Ý ÛÛÝ ÝÛÛÝ ÞÛÜ ²Ý Þ²
Þ² ÞÛ² ÞÛ² ²Ý Þ²ÝÜܲÝ
ÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜ
to
Code:
▓▌ ██▌ ██▌▓██▓█ ▓█████
▐█ ▐█▓▐ ▐█▓ ▓▌▐▌▐▓ ▓▌
▓▌ ██▌ ▌██▌ ▐█▄ ▓▌ ▐▓
▐▓ ▐█▓ ▐█▓ ▓▌ ▐▓▌▄▄▓▌
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
(Using PHP).
Quote:
Originally Posted by
stan
Thanks, but I'm looking for a web-based option (php/html), not software. I know how to read an NFO file. :P
Re: How can I make an NFO display pretty in a browser?
What if you make a new div class in CSS and use that?
Then, you can make every user post their NFO in a bbcode tag, such as .
Edit: I didn't know the tag would work.
Re: How can I make an NFO display pretty in a browser?
Ya we have an nfo tag that we don't use anymore. :P
This won't help, it still won't look like on binsearch.
It's something to do with character encoding, I know it.
Re: How can I make an NFO display pretty in a browser?
Most nfo software I've used defaults to the Terminal font. Don't know if it is somehow related. Or the interpretation of the line feed, as it double feeds creating that empty line which deforms the whole .nfo
Re: How can I make an NFO display pretty in a browser?
Sorry to drudge up this thread but I think I know what they're using. A variation of this.
Not sure how to go about using it with VB. Would love to know though.
Re: How can I make an NFO display pretty in a browser?
If my memory serves me right binsearch is based around ikbin(i may be wrong) but when i ran it, it needed a few programs putting on the server for it to run,php/sql etc, maybe if you d/l that and see all the programs it needs to run, that may shed light on your answer you require because that has the same nfo program built into it.
I can't remember what the other programs were needed but thought this might help in your search instead of people guessing.
ikbin is on sourceforge and its free.
Re: How can I make an NFO display pretty in a browser?
Quote:
Originally Posted by
darkstate01
If my memory serves me right binsearch is based around ikbin(i may be wrong) but when i ran it, it needed a few programs putting on the server for it to run,php/sql etc, maybe if you d/l that and see all the programs it needs to run, that may shed light on your answer you require because that has the same nfo program built into it.
I can't remember what the other programs were needed but thought this might help in your search instead of people guessing.
ikbin is on sourceforge and its free.
iokbin doesn't have the viewnfo.php file. It must be a binsearch exclusive.
Quote:
Originally Posted by
vat0r
Sorry to drudge up this thread but I think I know what they're using.
A variation of this.
Not sure how to go about using it with VB. Would love to know though.
I'm trying this now but not having much luck yet...