Is there an API to read ePub books? [closed] - c#

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm trying to create an ebook reader for WP7. So far I haven't been able to find any API to read ePub books with.
Thanks,
Zain

For DRM-free html based ePubs(there are also dtbook based ePubs, but I've never seen one) you can simply use a few libraries to build a reader:
An html render control, since the content is based on xhtml 1 and css
A zip library because the container is a zip archive
An xml library to parse the meta data files
For 2. and 3. there are many libraries, some of which support silverlight/WP7. No idea about 1, but I suspect WP7 already offers such a control.

EPUB sharp beta - http://sourceforge.net/projects/epubsharp/
Also, you can check out the draft of the ePub 3 spec here
Edit: Fixed the link
EPUB Sharp has not been updated since a long time.
Here's a step by step procedure in building your own (for iPhone, IMO it's good starting point).

I would imagine that extracting the contents of the book, as string or simple text and passing it into the Microsoft Speech SDK (SAPI) would work. Functions therein can be called from within c#. Did you try that already?

Related

.Net free open-source components to generate PDF [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
The task is to generate 2-3 pages PDF file, which may contain tables, with borders and without, nested tables, and simple formatting (align, text size, bold/italic). Input may be anything from markdown, or html, but some strict format to create a template. Output - pdf. Everything should be server side.
I have already researched in many libraries. iText is not supporting tables, others are expensive or require Word/IE to generate a file...
Is there any free libraries, which support this for C#?
iTextSharp does support tables (PdfPTable).
Versions 4.1.6 and below are LGPL/MPL licence, and are free of charge
Versions 5+ are not free.
I used to use iTextSharp around version 4 and I'm sure all of your requirements are met. Try it out!
ABC Pdf works very well, but its around $250 :( they offer a free trial though.
Few other alternatives will be. iTextSharp is really good :)
iTextSharp
http://sourceforge.net/projects/itextsharp/
PDF Sharp.
http://sharppdf.sourceforge.net/
PDF Clown
http://www.stefanochizzolini.it/en/projects/clown/index.html

How to zip a file loaded in memory without saving it to a file? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have to build a component in a project that archives files before saving them in the database.
Do you have any algorithm suggestions or do you recommend a 3rd party?
I tried the examples from msdn.microsoft.com/en-us/library/ms404280.aspx, but I whould prefer to archive the content of the file in memory, not to save it first to a file
Microsoft has included the ability to zip files in .Net 4.5 using the ZipFile Class
It can be accomplished by calling the CreateFromDirectory method if you have a directory of files
DotNetZip is a very useful library.
http://dotnetzip.codeplex.com/
Very simple to use. Just check the given examples.
You can also use ICSharpCode.SharpZipLib. It is an open-source library also available as a Nuget. This also works with Mono.
If you are using .NET 4.5 , then System.IO.Compression has ZipFile class
Note: If you are using Mono, then ZipFile class won't work because it is not implemented yet.So you have to rely on ICSharpCode.SharpZipLib.

How to: Social Media Website [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I was tasked to create a new Website - to make it similar to Facebook. ( were talking without games) so a standart backend with CMS for media sites.
I am familiar with VS'12, asp.net MVC3 & 4 C# or Vb.net , html5 and other languages and feel fit to start this.
What i wanted to know is if there is any Template, Backends, Nuget Packages, Open Source Applications out there for Visual Studio so I don't have to recreate the wheel?
I have looked where i know to look so a great answer would be a Template, Backend, Nuget Package and where you found it. Or possibly another method of getting started that i didn't list / am not aware of
Please do not come back at me with any PHP templates, for i would not be interested in it.
Thanks in advance.
Take a look here: MonoX
Free ASP.NET Content Management and Social Networking Platform
MonoX comes with everything you need to build advanced social networks.
MonoX includes very powerful content management functionality.
Mono Software provides MonoX blogs, tutorials and support forums.
This is something I'd recommend.

SGML parser .NET recommendations [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
In my C# project, I have been dealt with the task of parsing an SGML file and have tried, very naively, to use XmlReader, and this has led to some interesting revelations (i.e., the difference between SGML and well-formed XML, etc.)
So I am thinking that I just need a good SGML parser which converts it to an XML file and go from there. In my search, I have found two SGML parsers that can integrate with my C# project:
MSDN's SgmlReader, and
James Clark's SP SGML parser.
Any other recommendations?
Apparently SgmlReader's updated here:
https://github.com/MindTouch/SGMLReader
HTML is an implementation of SGML. If you want to parse HTML properly, you will need an SGML parser. SGMLreader appears to fit those needs well, and I plan to use it myself. I would suggest using HTML tidy. It is a native application, but .net bindings for it do exist. If you need entirely managed code, then the SGMLreader is the way to go.

Reading quicken data files [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Looking for an open source library, for C++, Java, C# or Python, for reading the data from Quicken .qdf files.
#Swati: Quicken .qif format is for transfer only and is not kept up to date by the application like the .qdf file is.
QDF is proprietary and not really meant for reading other than my Quicken, probably for a reason as it is messy.
I would recommend finding a way to export the qdf into an OFX (Open Financial Exchange) or qif file. I have done some financial and quickbooks automation and I did something similar. The problem is if you don't export to an exchange format, each version differs and strange things happen for many conditions that since they aren't documented (QDF) it becomes a bad situation for the programmer.
OFX is what allows online banking, brokerages and apps like mint.com securely get financial data. It is a standard and consistent. Finding a way to this is much better if at all possible.
http://www.west-wind.com/Weblog/posts/10491.aspx
And i know one other blog where the author was developing a parser for qfx/qif... lemme look it up... googling hasnt helped yet :(
Update: Found one more:
http://blogs.msdn.com/lucabol/archive/2007/08/31/parsing-qif-quicken-files-in-c.aspx
Check out http://qif.codeplex.com/
You may want to check the license before use. Thanks

Categories