I'm trying to tail a file into webpage.
I want to do it as efficient that it can be.
I looked into our old friend google , but couldn't decide what to take , and more important - how.
let's say I have a txt file , and every time something is written inside it , I want the new data to be printed on the web page.
I'm Noob on all this web area, so please be kind :)
I tried to look into nodejs and io.socket and couldn't make it work.
if you think of other good and effective solution - please share it with me.
I'll be happy to get some help here.
Please be easy on me ..
Thanks !
Related
Not sure if this questions has been asked because I didn't know how to word the search. Please direct me if it has.
I am trying to add a feature to programs that I write to add a layer of protection incase programs end up with people that I do not want using it. I heard of a way to do this using a personal file located online (DropBox, GoogleDocs, etc). Your program checks this document for a 1 or a 0, etc. etc. etc.
I tried doing this with dropbox and google docs but really don't know how I would even start this to work consistently. Any help or initial direction on how to start this would be great. Thanks.
I'm brand new to programming in general, but specifically Processing, and I need some help on a final project for my digital media class! Using a QR Code Reader library, I've made a sketch in Processing that successfully reads any QR code I throw at it. For the next step, I wanted to find a way to turn the url my sketch displays into a working hyperlink. I want to be able to scan the code, display the url, and click on the url and have it open in my browser. I have steps one and two, but if anyone knows how to write step 3, I'm in desperate need of some advice!
This is the first time in my life I've ever had to code (I'm studying creative writing), and I have yet to get a response on any other forums, so I'd really appreciate the help! Thank you!
I don't know about clicking on text, but there is a way to open a URL in a browser!
You use the link() command. I can't actually find it on the reference page, but it takes a single argument, the URL you want to open.
Here is the example from Processing.org.
Okay. I know this question was a bit confusing, so let me decompose my question a bit further. For example, let's say I have the URL: https://example.com. I have an open GET endpoint at: https://example.com/user/* that will return a specific user's information based on what the contents of the "*" is. Lets say a specific user is at: https://example.com/user/12345. On an HTML page, I would like to put that user's profile contents and some of their hobbies. Again, this is theoretical. I have explored various solutions such as Handlebars.js which can dynamically change values based on the server request. However, this solution does not always work. Take a search engine for example at: https://mysearchengine.com/search?query=dogs. Here, we have a search query for dogs. How do I render all of the results to a HTML document without using a dynamic content module like Handlebars?
This question was particularly difficult to ask, so please do not mark this as "not enough information". I would be more than happy to clarify any questions you may have about the nature of my query. Thank you so much in advance,
Flight Dude.
Just wanted to let y'all know I found my answer: EJS. Thanks!
I am a student and in the school website, what I want to do is that I want to busy wait on the certain URL and check if the class i want to register for is open or not. I was wondering if there was a way to constantly check on the website(busy waiting or otherwise) to see if the class is open or not. There is a table Rem where it shows the number of places remaining in the User Interface.
Also what language would you use to solve this problem?
Yes you can. but for that you will probably need to create a script that fetches the value of data from that table.
So something like web scraping should work.
I would definately use php for this stuff.
Google web scraping and you can code the script.
I am not sure if this is the exact thing that will help you, but what you need to do is something similar - See Here
Can someone please explain to me how I can get the search functionality from this:
https://developers.google.com/maps/articles/phpsqlsearch_v3
to work with your map when you have followed this tutorial:
https://developers.google.com/maps/articles/phpsqlajax_v3
I've basically done both tutorials, just learning and I can make them work flawlessly seperately, however i want to port across the searching options from the first tutorial when having a map created via the first one.
I have the following:
sql database with all my info
XML output working perfectly
all markers working nicely with custom icons from the sql xml output
searchbox + all textbox/buttons in place.
Now i just need to make it work lol, no code in place for it at the moment. I just want it to search and display certain locations within a certain radisu
Any help is greatly appreciated, thanks alot :)