I have created a Google site for my class, I am trying to place a file uploader on my page. I have found an exemplar codes on the following sites
https://sites.google.com/site/appsscripttutorial/user-interface/upload-doc
https://sites.google.com/site/toolsclass/apps-scripts/file-uploader (deposits into a specific folder but doesn't seem to work)
but I am a complete novice when it comes to app scripts etc so am in desperate need of a real basic step-by-step set of instructions to get the uploader on my site. If it can also be adapted so that the uploaded files are deposited within a specific folder within my Google Drive then it would be greatly appreciated.
There are plenty of code examples of forms with file upload, this one for example shows a full featured form. Try also a search on this forum in the Google-apps-script tag
Try to include the https://driveuploader.com/ via the iFrame embedding.
This is definitely the easiest way how to receive the files from your web visitors into your Google Drive.
Related
I have already add the rest support (link)of my website. the CMS and my website are under different domain. when I used restcall to pull the contents like html code " the contents will automatically convert to site is for hippo site and rest is for rest call mount point.
so obvious the relative path does not support if we use rest call to pull contents from cms to other websites.
I am just wondering that is there anyway to keep same relative url after rest call and instead using absolute path.
Please have a look at the long thread posted here: https://groups.google.com/d/msg/hippo-community/L417REGg2pY/YPtawvh0M8IJ
I am looking for a web service that will allow me to upload a PDF and can track the number of times it is downloaded regardless of the source. I am aware of Google Analytics event tracking on my site but the issue here is that I need to give the file path to a number of partner sites and would like a centralized place to view total downloads among all partners. A breakdown of downloads by source would be awesome but not necessary. I can't rely on getting numbers from all of the partners as some may not even have GA set up at all.
Does something like this exist? Free is nice but would be willing to pay for an account if necessary.
Thanks.
Ended up using bit.ly to to shorten the path to the PDF hosted on my server. Gave the shortened url to the partners. Bit.ly provides good click stats by simply adding a "+" to end of the shortened url so we could see results.
Have you tried Ge.tt ?
I believe it shows number of times your files has been downloaded.
I have a client who uploads his properties into 3rd party software created by a company called 'estates it', who then send that file, as a .blm to rightmove who process it.
This client wants us to take that .blm file and output the data into a new designed site we are doing. Does anyone know of methods or experience in doing this or working with .blm files? Which is a static file as far as I know.
I don't suppose this will be of help to you anymore, but if anyone else is looking for ways to handle the rightmove BLM file:
You can find several solutions implemented here
Using this repo, for example, you can just:
$blm = new \BLM\Reader(dirname(__FILE__) . '/test.blm')
var_dump($blm->toArray());
Most solutions I've seen are implemented in PHP though, and seem to be pretty old.
In the case the website is a wordpress, there seem to be a couple puglins for this too (example).
I'm not too sure Rightmove still outputs a BLM on the latest version of its api.
This is a pretty simple process. We are currently working the other way. ie our system manages an estate agents property listings and sends them to rightmove for listing.
The rightmove API definition can be found at www.rightmove.co.uk/adf.html
The file comprises a definition and data file within each blm, this should make it quite straight forward to manage
I've been away from SharePoint development for quite a while now, and I'm trying to access the information in a SharePoint 2010 blog (from one of our users, within their "MySite") from a C# webpart which will reside on the homepage of the site. The idea is to be able to highlight a certain user's latest post on the home page.
Can anyone help me to reference the blog (in dev it is located at http://myServer/my/BillsBlog) from our homepage. I've tried the following...
Reference an SPSite giving the URL as a constructor parameter, then get the correct web from there. This fails. (I'm guessing the blog is a web, rather than a site collection, but am open to being corrected there)
Get the current context from SPContext.Current, and access the AllWebs collection from there, but this doesn't inculde the /my web.
Once I find the appropriate container (SPSite or SPWeb) I can access the list to pull out the items I need, but I don't know how to get to that point. In a console App, I have it working by using the method in the first bullet abouve.
I'm really pretty much stuck now, and I simply don't know enough about what I'm looking fro to be able to search Google for answers. Any help you could give me would be greatly appreciated.
OK, my mistake. The webpart project was set up as a sandboxed one, so the approach in bullet 1 wouldn't work. Changing that switch meant it is now OK and working as per the console app.
Thanks for reading.
I have recently placed an ad in a weekly publication that sends out a PDF file. My ad is directly linked so that the reader can click on it and go to my website. The PDF file is hosted on a different server, but is, in fact, a PDF file that has to be downloaded and viewed on that site, not emailed or shared that way. I have Google Analytics and a couple other stats tracking programs installed and I can't see the referring URL from this other site at all, in anything. Is there something I can ask the designer of the PDF file to include in her links to make them trackable? Or is this simply not possible?
Use Google Analytics Campaign Tagging.
This tool will help set it up. You'll want to classify the variables such that the source and the medium are set, at minimum.
http://www.google.com/support/analytics/bin/answer.py?hl=en&answer=55578
So, for example, if your URL is http://example.com, you could set the parameters as such:
utm_source: BlahNews
utm_medium: newsletter
utm_campaign: july10issue
Your resulting URL would be http://example.com/?utm_source=BlahNews&utm_medium=newsletter&utm_campaign=july10issue
Google Analytics would track these hits under that Campaign, Source and medium.
If the URL is displayed raw, and want to avoid 'displaying' an ugly URL, you could setup an internal redirect to that URL, and it looks like you're using WordPress, there are a few free plugins that manage redirects like this (I happen to like 'Redirection')
So, you could tell the plugin to redirect
http://example.com/blahnews TO http://example.com/?utm_source=BlahNews&utm_medium=newsletter&utm_campaign=july10issue
Can you ask them to put some token in the query string of the URL to the site?