Solved

How do you display Hidden Text on Webpage before creating Thumbnail of page

Posted on 2014-11-14
4
79 Views
Last Modified: 2014-11-28
I am trying to get thumbnails of webpages to show content of the page.

I have the code to obtain string of HTML and use that to create jpg thumbnail.

The problem is on the pages are tabs, links with "show more.." to JavaScript which then displays more text.

How can I determine in .net c# which text is hidden in this way?

and secondly how do I change page in .net c# before thumbnail generation to display the hidden text behind tabs and links on page?

Thanks
0
Comment
Question by:stephenwilde
  • 2
  • 2
4 Comments
 
LVL 35

Expert Comment

by:Kimputer
ID: 40442305
This requires a LOT OF CODING on your part. You have to deconstruct the current working code, and reprogram it to include what you want. You will have to insert a routine that picks up the css code and interpret it to see if it has the hide/show elements.
0
 

Author Comment

by:stephenwilde
ID: 40442317
Thanks I thought it may be very bespoke and heavy code.

If I can in code identify there is a tab with text behind it that was not showing

Is there some code in .net that I can sent in the HTML request that is acts like a "click tab" on the identified tab and then the text would show on the returned string?

Effectively like if I did it manually the HTML page would change.
0
 
LVL 35

Accepted Solution

by:
Kimputer earned 500 total points
ID: 40442327
No, the code are put in the .Net libraries as it is (interpret and show webpage). Everything as exotic as what you like, needs to be programmed by yourself (and you maybe you have to code stuff that's already in the library, but because it's slightly diifferent, you have to start from scratch)
0
 

Author Closing Comment

by:stephenwilde
ID: 40470779
Thanks for the honest answer.
It is going to be a lot of code!
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question