<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>DisplayFusion RSS: Webpage HTML Value</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=3e76e74a-fb7b-4531-b469-648b15d0797d" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=3e76e74a-fb7b-4531-b469-648b15d0797d</link>
<description>DisplayFusion RSS: Webpage HTML Value</description>
<lastBuildDate>Sat, 23 May 2026 13:03:00 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=3e76e74a-fb7b-4531-b469-648b15d0797d</generator>
<item>
<title>RE: Webpage HTML Value</title>
<link>https://www.displayfusion.com/Discussions/View/webpage-html-value/?ID=3e76e74a-fb7b-4531-b469-648b15d0797d#6</link>
<pubDate>Tue, 07 Feb 2023 01:09:29 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/webpage-html-value/?ID=3e76e74a-fb7b-4531-b469-648b15d0797d#6</guid>
<category>DisplayFusion</category>
<description><![CDATA[@JLJTGR: Thanks for trying to help out!
@JDP0512: As JLJTGR mentioned, HTML parsing is actually really difficult to do, and then exporting to Excel is a whole other can of worms. While it is possible to run whatever C# code you like in a DF Scripted Function, that kind of script is well outside ...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
@JLJTGR: Thanks for trying to help out!<br/>
<br/>
@JDP0512: As JLJTGR mentioned, HTML parsing is actually really difficult to do, and then exporting to Excel is a whole other can of worms. While it is possible to run whatever C# code you like in a DF Scripted Function, that kind of script is well outside the scope of what we'd provide as an example, sorry!
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Webpage HTML Value</title>
<link>https://www.displayfusion.com/Discussions/View/webpage-html-value/?ID=3e76e74a-fb7b-4531-b469-648b15d0797d#5</link>
<pubDate>Sun, 05 Feb 2023 17:41:36 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/webpage-html-value/?ID=3e76e74a-fb7b-4531-b469-648b15d0797d#5</guid>
<category>DisplayFusion</category>
<description><![CDATA[Thanks! With a little editing I was able to retrieve the full HTML with the above but not the Div Value. Due to UAC on this machine I wont be able to use any references outside the .NET 4 framework though. Back to square one....]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Thanks! With a little editing I was able to retrieve the full HTML with the above but not the Div Value. Due to UAC on this machine I wont be able to use any references outside the .NET 4 framework though. Back to square one....
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Webpage HTML Value</title>
<link>https://www.displayfusion.com/Discussions/View/webpage-html-value/?ID=3e76e74a-fb7b-4531-b469-648b15d0797d#4</link>
<pubDate>Sun, 05 Feb 2023 15:18:19 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/webpage-html-value/?ID=3e76e74a-fb7b-4531-b469-648b15d0797d#4</guid>
<category>DisplayFusion</category>
<description><![CDATA[Only BFS staff can read protected attachments such as those images.
I would say that the Excel sheet part is actually the hardest.  But, I guess I'll show you the easy part...
In the attached script, you can add your corrected URL to the 2nd line and 5th line is an XPath expression to your DIV....]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Only BFS staff can read protected attachments such as those images.<br/>
<br/>
I would say that the Excel sheet part is actually the hardest.  But, I guess I'll show you the easy part...<br/>
<br/>
In the attached script, you can add your corrected URL to the 2nd line and 5th line is an XPath expression to your DIV.  If you right-click an element on the webpage and click Inspect or similar, it will open the browser's devtools and highlight your DIV in the source.  Right-click that and copy the XPath expression and use that in the 5th line.<br/>
<br/>
As I said in my last post, .NET is terrible at reading HTML, but DF allows you to add references to other libraries.  I added System.Xml.XPath from the .NET Framework and HtmlAgilityPack... the latter you have to download separately then browse to it when adding the reference.  I had wanted to make a solution without outside libraries, but this makes it so much easier.  The distributers make it bafflingly hard to download the library outside of NuGet.org... so you have to get the .nupkg file and extract it as though it were a ZIP.  I used the netstandard1.3 file.<br/>
<br/>
As for the Excel part, I honestly don't know what you should do there.  I'm not sure I would have recommended DF for doing that part... but I'm not sure what I would use in any case.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Webpage HTML Value</title>
<link>https://www.displayfusion.com/Discussions/View/webpage-html-value/?ID=3e76e74a-fb7b-4531-b469-648b15d0797d#3</link>
<pubDate>Sun, 05 Feb 2023 13:10:14 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/webpage-html-value/?ID=3e76e74a-fb7b-4531-b469-648b15d0797d#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[What I'm trying to accomplish is copying three specific value from a webpages HTML and inserting them into a certain open excel file. I'm not an expert with C# you think you could help me out? If you could just get me started with the C# I should be able to figure the rest out.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
What I'm trying to accomplish is copying three specific value from a webpages HTML and inserting them into a certain open excel file. I'm not an expert with C# you think you could help me out? If you could just get me started with the C# I should be able to figure the rest out.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Webpage HTML Value</title>
<link>https://www.displayfusion.com/Discussions/View/webpage-html-value/?ID=3e76e74a-fb7b-4531-b469-648b15d0797d#2</link>
<pubDate>Sat, 04 Feb 2023 14:04:09 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/webpage-html-value/?ID=3e76e74a-fb7b-4531-b469-648b15d0797d#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[I'm sure you could using a C# script as that has all of .NET behind it.  Any particular reason to want it done with the BFS namespace?  Unfortunately .NET is great at parsing XML but not HTML so much.  Depending on how complex the webpage is will determine how elegant the C# script would be.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I'm sure you could using a C# script as that has all of .NET behind it.  Any particular reason to want it done with the BFS namespace?  Unfortunately .NET is great at parsing XML but not HTML so much.  Depending on how complex the webpage is will determine how elegant the C# script would be.
</div>
]]></content:encoded>
</item>
<item>
<title>Webpage HTML Value</title>
<link>https://www.displayfusion.com/Discussions/View/webpage-html-value/?ID=3e76e74a-fb7b-4531-b469-648b15d0797d</link>
<pubDate>Thu, 02 Feb 2023 19:32:15 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/webpage-html-value/?ID=3e76e74a-fb7b-4531-b469-648b15d0797d</guid>
<category>DisplayFusion</category>
<description><![CDATA[Is it possible to write a script with DF to pull a DIV value from a URL using any of the BFS functions?]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Is it possible to write a script with DF to pull a DIV value from a URL using any of the BFS functions?
</div>
]]></content:encoded>
</item>
</channel>
</rss>