38 lines
866 B
C#
38 lines
866 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Xml.Linq;
|
|
|
|
namespace ReadSharp.Ports.NReadability
|
|
{
|
|
public class TranscodingResult
|
|
{
|
|
public TranscodingResult(bool contentExtracted, bool titleExtracted)
|
|
{
|
|
ContentExtracted = contentExtracted;
|
|
TitleExtracted = titleExtracted;
|
|
}
|
|
|
|
public bool ContentExtracted { get; private set; }
|
|
|
|
public bool TitleExtracted { get; private set; }
|
|
|
|
public string ExtractedContent { get; set; }
|
|
|
|
public string ExtractedTitle { get; set; }
|
|
|
|
public string NextPageUrl { get; set; }
|
|
|
|
public string ExtractedDescription { get; set; }
|
|
|
|
public Uri ExtractedImage { get; set; }
|
|
|
|
public Uri ExtractedFavicon { get; set; }
|
|
|
|
public string Charset { get; set; }
|
|
|
|
public XDocument RawDocument { get; set; }
|
|
|
|
public IEnumerable<XElement> Images { get; set; }
|
|
}
|
|
}
|