Can I get a full site map in html agility pack? [duplicate] - html-parsing

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
How to use HTML Agility pack
I haven't yet downloaded Html Agility Pack, so I am wondering if I can easily make it parse a website (that may contain PHP) and make me a site map of html files in memory. Is Html Agility Pack designed to do this?

Html Agility Pack is a framework for working with html documents object model. This won't help you to build sitemap directly.
You may use it in your own logic, but it will only cover navigation inside the DOM.
A side note: HAP is not a Microsoft product, but a community open source project.

Related

Migrating complete HTML and Javascript application into vaadin UI components

Many thanks for your help and support. I am just a beginner in Vaadin 7 and I am badly need of help.
Let me explain,
We have a third party application developed in HTML and JavaScripts. On my PC, if i open the html page with the browser it works fine. Please find the application in the attachment.
https://drive.google.com/file/d/1mdxFaMJmUb2pSTdh87MC8oSaaDMGx19d/view?usp=sharing
Now the challenge is, I need to in-corporate that application (HTML + Javascript) into Vaadin 7 as follows,
In-corporate the Javascripts into Vaadin using AbstractJavaScriptComponent (This has been done somehow understanding the examples)
Now comes the challenge,
If you open the HTML in the textpad/notepad, you could notice lot of div tags from the " < body > " tag. The requirement is, each div tag is a html component and this should be converted into vaadin component with css styling and need to be displayed in the UI, so that based on the customer requirements, we can change the style css. I tried with custom layout but this is not way to be implemented as well, this does not require a widget and server side component to be implemented. Is there any other way to implemented ? I spending lot of time but all my efforts are in-vain. I just need the way forward to give me a right direction if you have any idea.

How to retrieve HTML representation of components?

I would like to output HTML codes of my vaadin's components at my console. I didn't find any methods for this . Can it be possible ?
It is not possible to retrieve component's generated HTML with Vaadin's server-side programming mode.
If you really need to do it, you could write your own extension what transfers component's generated HTML from browser to server after it's rendered. Writing your extension means the you need to it with GWT (GWT Web Toolkit, formerly Google Web Toolkit).

Which are the basic guidelines for using Delphi IntraWeb with Twitter Bootstrap?

I would like to use the Bootstrap Framework with Delphi's IntraWeb (I'm using XE2)? The idea is to have the server side logic done by Delphi, while using the nice controls that come with BootStrap?
What would be the basic components "Hello World" application for this configuration?
What would be the high-level approach for a more elaborate application, for example one with a Bootstrap nav component that has its tab contents populated by Delphi?
Is combining IntraWeb and Bootstrap an overkill? Would I would be better off with an Indy TIdHTTPServer + Bootstrap?
It does not have to be difficult to implement Boostrap with Intraweb, you just have to add the Js files in the ContentFiles property of the IWForm, you just have to take in mind you have to write the html for each component you use for BootStrap.
In http://www.codegearguru.com in the Movie #63 - Using jQuery Mobile with IntraWeb - CodeRage 6 Replay
They have explained how to develope the Fishfact demo using jQueryMobile, using the TIWTemplateProcessorHTML component and standard IW components, so it should no be difficult to adapt it for bootstrap.
Here is the link: http://codegearguru.com/video/063/jQueryMobileFishFacts.html
Althought, there have been a new component suite since last year implementing JQuery and jQuery mobile, you should take a loo at http://www.cgdevtools.com, I'm using them and let me tell it give you IW app a very nice view. AFAIK they are planning to generate a component suite for Bootstrap.
As far as the web-server is concerned, it should provide the necessary files when the client requests them to run bootstrap client-side: Bootstrap: File Structure
To populate the components (client-side), you'll have to create the server-side logic so it will enter the correct javascript that does so into the HTML of the pages.

Stucked on embedding my SWF flash file in ASP.NET MVC 3, any Display Template available?

I have a flash swf file that I want to embed in a view in ASP.NET MVC3 project. I found there are many error prone java-script procedure to do that as if I would have done in plain html. But I am wondering there should be some clean helper, HTML extension method or Display Template available for embedding the swf content. I searched a lot in Google but did not find any. Would anyone please help me pointing out any extension/display template for flash swf file embedding ?
Even if you can point me a solution that is commercial, I wont mind to pay. Rather I am looking for a very rich customizable library what can be highly likely to be commercial.
ASP.NET MVC HtmlHelper Extensions for the JW FLV Media Player
http://www.codevoyeur.com/Articles/15/ASP.NET-MVC-HtmlHelper-Extensions-for-the-JW-FLV-Media-Player.aspx

ASP.NET MVC View/Site Design

This stems from my question that i started at MVC Beginner Question
Im now confident in developing a MVC website from the MVC side of things.
My fatal floor now is the UI level designing. i.e. designing views and master pages including css styling.
Just wanting to get any advice on where i should start? Im currently about to look at the expression studio to see if that will help.
I need to get up and running in this quickly so that it doesnt hold back the development of the website.
Thanks in advance
I would look at a CSS grid-framework like 960 Grid System or Blueprint.
There is often controversy from CSS/Markup purists as to whether the use of such frameworks is valid, but they often overlook that not everyone is a CSS expert. I have found that the use of these frameworks has saved me hours of productivity since my CSS skills (as a programmer) are not that great.
As far as using Expression, I tend to use this as a "test-bed" with simple HTML files. The Designer and CSS Style support seem to be more interactive than that which Visual Studio supports, so for quick mock-ups -- Expression, then move that HTML/CSS over to VS as soon as possible.
One other priceless tool to use while designing is the add-on "Firebug" for Firefox ... it allows you to inspect single elements on your page, the CSS properties affecting that element - it even allows you to change CSS attributes "on-the-fly" to immediately see the ramificatiions. This tool has saved me HOURS!
Consider finding a suitable theme in a free open source template.
Consider something that suits at http://www.freecsstemplates.org/.

Resources