Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
When I look at social bookmarking website or web master tools, they have a screenshot of a website showing.
I would like to do the same thing.
How can I go about doing this? (I know they are not using iframe, but rather small thum nail size png file)
Is it possible to achieve this with javascript or do I need to use Windows or Mac OS that can take a screenshot from browser and somehow automate it?
I would like to achieve this goal with javascript or PHP, Python, Ruby.
(I read somewhere that phantomjs might be able to achieve this?)
Please give teach me how I can go about with this problem.
You need a server side programming language that has a webkit module.
Using that you could create a widget into a virtual display and load the site in that and get a screenshot made once it's done loading.
I have done something like this using python, qt, qt webkit and pyqt but did not take a screenshot.
This might help:
http://codescience.wordpress.com/2011/04/19/very-simple-web-browser-on-pyqt4-and-webkit/
Keep in mind that what you want is a bit different so just go to the point where you open the site in the widget and find a way to take the screenshot.
Also look into executing the app into a virtual display.
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
I have a html site, and I have a page that acts as a bio for users (which I currently have to update by hand with html).
I want to create a membership login page, and I want users to be able to input their own data, that in turn updates their bio page automatically. With an option to upload images.
I read up and looks like php and mysql is the way to go, which I know nothing about. Is that the right route? Or is there an easier way?
Kick me in the right direction to get that setup please? I'm lazy and don't want to spend months figuring out how everything works just to setup one page...
Do not try to write everything your own.
If you only want the result fast, find some mature CMS to start from. Try Drupal or Wordpress.
If you want more control and not afraid to fight with code, try framework like Laravel or Symfony. Learn as much APIs as possible from the framework.
I would look into Wordpress. They offer hundreds of thousands of plugins that can achieve advanced functionality without writing any code.
Here is a Wordpress plugin called Ultimate Member that looks like it would achieve your desired functionality.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
so i want to develop a mini website builder within my website. Have a control panel where users can edit the text in their websites, i want each of those html pages to have its own css file attached to it. Now, i want it so that the user sees something like a button saying "Edit Background color" they are prompted with a color picker and on hitting save, the css file is updated without them knowing that css even exists.
I would like to know what language i can use to make the previous example happen. And if possible a hint of code.
I appreciate your answers, Braulio :)
I didn't downvote you but just for informational purposes, the reason you were probably downvoted is due to the scope of your question, The language you choose depends on what platform you are running your site on. And it is likely possible to do what you want in tons of different languages assuming your platform supports them. For an easy solution check out .net languages like c# with ajax controls for live updates without refreshes. But then again you could use ruby with rails. Or you could do most of it in the client side with jquery and javascript then send the results to the server which could utilize php. It is just to broad a question to really answer without writing the whole thing for you which nobody is going to do.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I need to develop a e-commerce type website with some typical modifications in it.
I want to develop the front-end by myself and I need some extra functionality it, it will be something like a printing service so maybe I will need a plugin that will allow user to upload images with the corresponding type of material used.
I decided to use a CMS because it will help me in the long run managing things and keeping everything safe.
I am proficient in the languages that are associated with these like PHP, Mysql, HTML, CSS etc. But know a little about WordPress or how it can be modified or what is the workflow for developing a e-commerce site with WordPress and woo-Commerce.
I need to design a front-end for it and some specific functionalities. Where should I start? What should I learn first?
Wordpress has a great community with free tutorials over the web.
Download woo-Commerce here.
You can find a decent beginner overview here.
You can find another one here which is more extensive, you can find part 2 to this one here.
To make your own modifications to the code simply go to /wp-content/plugins and locate the w00-Commerce folder. You will most likely have to do these updates through ftp.
You should now be able to edit the php files associated with your woo-Commerce plugin for more customization.
You can expect your site to look something like this before modifications:
Hope this helps.
--lillypad
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I would like to know what is the best approach, based on good programming practices to show an external webpage (say Facebook or Twitter) on my website while being able to modify the HTML and CSS before showing it.
I know that I could use an iFrame however based on some opinions the iFrame does not seem to be a good programming practice (width issues, ugly scrollbars, etc).
Is there a better approach?
Update: Question was put on "too broad", in order to limit the possible answers I would like to know if it possible to change the CSS (and only CSS) of an iFrame, the user Muhammad Umer commented that it would be possible but provided no more details. Someone knows how to achieve this?
This can be done in PHP. First I want to suggest to look for API's. Facebook has some nice API's which allow you to show them on your website, with some options to customize is.
The more difficult (and lots of work to maintain) is using file_get_contents() and using some parsers and regex to get the parts you want. Allthough facebook (and some other sites) might prove difficult, they load some parts via JS, so file_get_contents cant get everything
Again, API's are the way to go.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 12 days ago.
Improve this question
I searched in google and come to know that there are some tools which
will provide remote assistance functionality (ex:Gotoassist,teamviewer).But i want to
implement the similar kind of feature in php.
Is it possible to implement in php or not?
I'm going with NOT just in PHP, PHP is a server side scripting language.
http://uk3.php.net/manual/en/faq.general.php#faq.general.what
PHP can be responsible for hooking the session up / starting a server repeater and helping your user to connect with you - but it can't physically do the drawing of client side screen graphics and mouse/keyboard operation - you need something like this:
http://phpremotesupport.com/about/
In tandem with a VNC viewer or other remote viewing product (C, C++, C#, .NET VB would be used to program it most likely) - found this one which might be useful to you called noVNC (web-based):
http://kanaka.github.com/noVNC/
Something like this might help you:
http://phpremotesupport.com/