HTML Agility Pack for Windows Phone 7 (WP7)
So I've noticed some tweets recently on if/how the HTML Agility Pack can be used in WP7 development. I looked into it a bit while working on the Drudge Buddy app, and what I found is that you can use it, but you have to
compile the dll yourself. Here's what you do:
Go to the HTML Agility Pack Codeplex site: http://htmlagilitypack.codeplex.com/
Select the "Source Code" menu item, and then "download" the "Latest Version". You'll want to extract this somewhere on your hard drive.
Now, go into the directory where you extracted the files, and look for the "Truck/HAPPhone" folder. There should be a "csproj" file. Load this into Visual Studio. At this point, you should be able to compile the HAPPhone project and create the dll you need. You can then include this dll file as a reference in your WP7 project and begin using the HTML Agility Pack in your project.
Keep in mind that the HAPPhone project does not include all the functionality that the main project does. So, you can use the tutorials on the Codeplex page (and others) to get an understanding of how it works, but you may have to modify the way you actually parse the data.
Anyway, good luck!
Go to the HTML Agility Pack Codeplex site: http://htmlagilitypack.codeplex.com/
Select the "Source Code" menu item, and then "download" the "Latest Version". You'll want to extract this somewhere on your hard drive.
Now, go into the directory where you extracted the files, and look for the "Truck/HAPPhone" folder. There should be a "csproj" file. Load this into Visual Studio. At this point, you should be able to compile the HAPPhone project and create the dll you need. You can then include this dll file as a reference in your WP7 project and begin using the HTML Agility Pack in your project.
Keep in mind that the HAPPhone project does not include all the functionality that the main project does. So, you can use the tutorials on the Codeplex page (and others) to get an understanding of how it works, but you may have to modify the way you actually parse the data.
Anyway, good luck!
相關文章
- 開發WP7專案的好工具: Windows Phone CommandsWindows
- Windows Phone 7 墓碑機制Windows
- Windows Phone 7程式設計Windows程式設計
- Windows Phone 7解析圖片格式Windows
- [WP7] WP7安裝那些鬱悶的事
- 一起學Windows Phone7開發(十四.一 Phone Task)Windows
- Windows Phone 7 開發 31 日談——第21日:Silverlight Toolkit for Windows PhoneWindows
- Windows Phone 7 點陣圖程式設計Windows程式設計
- Windows Phone 7 SIM卡資訊獲取Windows
- Windows Phone7開發系列視訊地址Windows
- Windows Phone7 實現檔案上傳Windows
- wp7學習筆記筆記
- Windows Phone FAQWindows
- Windows Phone 7監測網路環境變化Windows
- 探索Windows Phone 7的單元測試(翻譯)Windows
- 與Windows Phone 7 相關的一些概念Windows
- 資料繫結(一)——《Windows Phone 7程式設計》Windows程式設計
- 資料繫結(二)——《Windows Phone 7程式設計》Windows程式設計
- 簡單XNA_Windows Phone 7 3D動畫Windows3D動畫
- Windows Phone 7 開發 31 日談——第7日:啟動器Windows
- 【WP7】本地資料庫使用資料庫
- 《Windows Phone 7入門經典之使用Silverlight和XNA開發Windows Phone應用》書評Windows
- SAI:51%受訪者表示會考慮Windows Phone 7AIWindows
- Windows Phone 7 TextBox全選擴充套件行為Windows套件
- Windows Phone 體驗Windows
- Windows Azure Pack整合配置SPFWindows
- Silverlight/Windows8/WPF/WP7/HTML5周學習導讀(10月1日-10月14日)WindowsHTML
- Silverlight/Windows8/WPF/WP7/HTML5周學習導讀(9月3日-9月9日)WindowsHTML
- 使用XNA為Windows phone 7開發簡單拼圖遊戲Windows遊戲
- Windows Phone 7中帶題頭的TextBox和PasswordBoxWindows
- ·Windows Phone 7首款機型8月25日開賣Windows
- Windows Phone 7 開發 31 日談——第25日:外部APIWindowsAPI
- Windows Phone 7 開發 31 日談——第24日:嵌入字型Windows
- Windows Phone 7 開發 31 日談——第19日:推送通知Windows
- Windows Phone 7 開發 31 日談——第3日:返回鍵Windows
- Windows Phone 7 MVVM模式通訊方式之實現CommandWindowsMVVM模式
- 微軟官方:Windows Phone 在 7 個國家銷量超過 iPhone微軟WindowsiPhone
- Dribbble for windows phone 8Windows