User:Nichalp/Upload script: Difference between revisions

Content deleted Content added
Camedu (talk | contribs)
Eugrus (talk | contribs)
m Executing the script 25px: Excel, obviously - not Word
 
(16 intermediate revisions by 13 users not shown)
Line 1:
{{outdated|not working? fails to log-in}}
 
{{User:Nichalp/Upload script/infobox}}
<div style="text-align:center; font-size:1.8em">'''Nichalp's Upload Script'''</div>
Line 7 ⟶ 9:
The script can be used on Microsoft Windows and GNU/Linux. It has not been tested on Mac. If you have a fast internet connection, or plan to upload smaller files, consider getting a bot account to prevent the script from flooding the recent changes list.
 
==Features [[Image:Crystal package.png|25px]]==
K12 Interactive Resources K12 interactive resources are designed to stimulate your brain, discover your talents and build strong concepts.
* Rename the images on-the-fly.
Address: 602/2F, Opposite SBI Bank, Main G.T. Road, Shahdara, North East - Delhi, 110032, India Phone: 7042388377
* Rotate images on-the-fly.
Emil id-: camedu939@gmail.com
* Autoformat wiki-syntax, so you do not have to worry about template parameters.
https://camedu.org
* Embeds your name, caption, and GPS data in the [[w:Exif|Exif]] information.
https://plus.google.com/+CameduOrg
* Add descriptions in several languages.
 
* Adds the {{tl|Location}} template if GPS coordinates are supplied.
https://twitter.com/Camedu939Camedu
* (Optional) Adds the {{tl|Photo Information}} template
 
* (Optional) Adds the {{tl|flickr-self}} template, if you have upload the same image to Flickr.
https://www.linkedin.com/in/camedu
* Creates a ''gallery.txt'' file with the list of image in wiki-syntax. This allows you to copy-paste the text into an image gallery.
* Rigorous checking to make sure that you have added a category, description, and licence to each image, and if parameters are in range.
 
==How it works [[Image:Cog-scripted-svg-blue.svg|25px]]==
https://www.pinterest.com/camedu939/
There are two scripts that need to be used.
# The first script is used to scan all JPEG images in the directory, and store the information such as date, camera information and so on into a CSV (comma separated value) file. The image names and column headings are automatically added.
# Using any Spreadsheet software, fill up the various fields such as description, new name, category and so on.
# Run the second script to read the CSV file data, and upload the corresponding file to commons.
 
==Disclaimers [[Image:Nuvola apps important.svg|25px]]==
http://camude.blogspot.in/
 
* This script is largely untested for all possible permutations and combinations. Use at '''your own risk'''. See also [[#Bugs]].
http://camedu.wallinside.com/
* Back up all images before uploading.
* The script will '''automatically upload over''' existing images. Make sure you check if the file name you supplied does not exist in commons.
* The script does not check if you have renamed the file correctly. Beware of introducing duplicate file names when renaming.
* By default, your commons password is visible on the monitor when asked to enter it. To hide it use: '''<code>perl upload.pl - secure</code>'''
* This script is currently limited to uploading only self-created photographs in JPG/JPEG format. Support for [[User_talk:Nichalp/Upload_script#About_non-JPEG's|other formats]] coming soon.
 
==Essentials [[image:Start hand.svg|25px]]==
http://camedu.tumblr.com/
You must have the following installed to run the scripts:
# [[w:Perl|Perl]]
# ExifTool library
# Text:CSV parser library
# libjpeg.
 
Read the [[/installation|installation guide]] to install the above for Microsoft Windows or Linux.
A smart mind needs right guidance to create wonders and in today’s world, the right guide is just a click away.
 
==Executing the script [[Image:Gnome-devel.svg|25px]]==
Learning is as much about the effort of the students as it is about the effectiveness of the teaching methodology. and the online world, the medium of delivering the content is the most important aspect when it comes to the way the students are taught. We endeavour to simplify the complex process of delivering the course content to the students and create platforms where students not only understand the key concepts but grasp them such that they are always at their fingertips.
<div style="background-color:#e8ece3">
[[Image:Nichalp-script.png|thumb|Script execution in progress.]]
 
# Create a new folder.
Departing from the conventional teaching methodologies, we aim to create custom content for clients, with the sole goal of meeting all their requirements in the best possible manner. We have in-house capabilities to create online course content in various mediums, including text, videos, graphics, animations, simulations and audio. All contents are designed and created as per global standards and follow the pedagogy and processes that you require. We put emphasis on applying the most apt instructional strategy to come up with online course content that puts the students at ease while following the guidelines of your organization.
# Copy the images you want to upload into the above folder.
#*[[Image:Nuvola apps kate.png|25px]] '''Note:'''- Images must contain the only following file extensions (.JPG, .jpg, .jpeg, .JPEG) to be picked up by the script. (PNG and other filetype support to come later)
#*[[Image:Nuvola apps important yellow.svg|25px]]'''Caution''':- Make sure you have backups of all images to be uploaded
# Copy the perl scripts: ''[[/csv_creator.pl|csv_creator.pl]]'' and ''[[/upload.pl|upload.pl]]'' into the folder.
# In the command line (Terminal in Linux/DOS in Windows), navigate to the above folder.
# Run ''csv_creator.pl'' from the command line by typing: '''<code>perl csv_creator.pl</code>'''
#:A CSV (comma separated value) file, ''upload.csv'' is created in the folder. The CSV file includes the header line, the list of image file names in the folder, and the corresponding image Exif information.
# Add the necessary information you want to the CSV file. To know how to format data in the CSV file, please read [[User:Nichalp/Upload script/csv fields|CSV fields explained]]. You can edit the data in your favourite spreadsheet software such as LibreOffice Calc or Microsoft Office Excel.
# Save the CSV file.
# Run ''upload.pl'' from the command line by typing: '''<code>perl upload.pl</code>'''
#* To specify your CSV file location, use '''<code>perl upload.pl file.csv</code>'''
#* To hide your password while typing it, use '''<code>perl upload.pl - secure</code>'''
#* To tell Perl to not load huge images/files into memory, but read them directly from disk while uploading, use '''<code>perl upload.pl - - disk</code>'''
#* If your CSV file does contain any UTF-8 (non-ASCII) characters, use '''<code>perl upload.pl - - - utf8</code>'''
# You are then asked to enter your username and password.
# The script then uploads the image along with the associated metadata. Errors if any, are logged in ''debug.txt''.
# A ''gallery.txt'' file is created in the same folder. This file contains the list of images marked up with the gallery wiki syntax. If you need, you can use the text to create image galleries.
</div>
 
==Bugs [[image:Nuvola apps bug2.svg|25px]]==
With our expertise, you can get the contents optimised for the two key mediums of accessing information online – computers and mobile devices. The boom in mobile devices like smartphones and tablets has led to the need of contents that can be easily understood and memorised on the smaller screen. We can create for you the perfect content for PCs/laptops and smart phones/tablets such that all concepts are grasped by the students seamlessly even when they switch between the two mediums.
# The last version will give a strange declaration error concerning $csv. See [[User talk:Nichalp/Upload script]] for a fix.
# Enabling it for different file types like .png is possible. See [[User talk:Nichalp/Upload script]].
We understand outsourcing the most critical aspect of the educational process – namely the content – can be a burden to many. Thus, we aim to partner with you in such a manner that you are involved in every step and can keep an eye on the whole process of content development for online courses. With this, we can shoulder the burden of creating the appropriate content for all ages, while you keep your eye on the big picture even as you remain abreast of even the minutes details in the online content
# Using permission "1" or "7" will result in unwanted outcomes. See [[User talk:Nichalp/Upload script]] for a fix.
# May hang if the computer is unattended for a long time. Solution: Check the last file uploaded. Quit the program, open the CSV file, delete all entries up to the last uploaded file. And restart the process.
# HTML formatting may appear in the command prompt. Reason unclear. Possible solution: Avoid editing in commons when uploading.
 
==Credits [[Image:Wiki-thanks.png|25px]]==
With this, we can shoulder the burden of creating the appropriate content for all ages, while you keep your eye on the big picture even as you remain abreast of even the minutes details in the online content
* [[User:Eloquence]] (Erik Möller) for [[Commons:File upload service/Script]], which I used to hack and cannibalise.
ambridge Education provides interactive, easy to understand, faster to browse CBSE contents on the website. CBSE contents on our website have virtual experiments mapped to National Curriculum frame, CBSE and regional boards. Camedu.org have low cost CBSE learning contents which can be accessed from home 24/7 on very low band width.
* Phil Harvey, author of ExifTool for his wonderful script and help provided.
==See Also==
* [[Commons:Commonist]]
 
Our learning platform is encrypted and authenticated using AES_128_GCM and uses RSA as the key exchange mechanism which facilitates the learners to buy our product with confidence and security over the web. We don’t allow any unauthenticated visitors on our website which gives 100% peace of mind to our learners, their parents/guardians and schools. Our learning materials are created to stimulate student’s brain to discover their talents and to build strong concepts.Camedu.org Virtual experiments are research based and liked to CBSE/regional board topics to develop life-long understanding of science and mathematics. Our online learning is designed with a goal to bring highest standard of learning materials live, streamed to our students directly to their home on PCs, laptops, mobile phones and tablets. Camedu.org designed assessments are to develop deeper understanding on topics, building self-confidence with enjoyment.
 
[[Category:Nichalp's upload script| ]]
We offer two moths free access to our learning platform to our potential school partners. We also create a separate learning platform to our school partners where their teachers and students can interact live to share their teaching and learning. On this platform, teachers can upload their homework which can be accessed by students at their home at any time and to answer these questions live. This methodology created an environment of sharing learning among each stakeholders of the child educational journey.
[[Category:Commons upload]]