Solved

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

Posted on 2014-11-14
4
80 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

739 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