useDeepLink option for Reader
This commit is contained in:
@@ -6,6 +6,8 @@ namespace ReadSharp.Ports.NReadability
|
||||
{
|
||||
public string AttributeValue { get; set; }
|
||||
|
||||
public string ArticleUrl { get; set; }
|
||||
|
||||
public XElement Element { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1656,7 +1656,9 @@ namespace ReadSharp.Ports.NReadability
|
||||
|
||||
if (attributeValueTransformer != null)
|
||||
{
|
||||
attributeTransformationResult = attributeValueTransformer.Invoke(new AttributeTransformationInput { AttributeValue = attributeValue, Element = element });
|
||||
attributeTransformationResult = attributeValueTransformer.Invoke(
|
||||
new AttributeTransformationInput { AttributeValue = attributeValue, Element = element, ArticleUrl = url }
|
||||
);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user