Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Assignment/Draft Features/URL submissions

From MoodleDocs

URL submissions

This is a proposal for an additional URL submission type feature in the Assignment module

Goals and rationale

The main goal of this feature are to :

  • Enable users to enter the URL of a web page for copying it into Moodle (copying and then zipping it) and using it as a form of submission in an assignment activity.

Overview

Unlike URL downloader repository, this URL submission will copy the whole content of a web page (not just images like URL downloader repo) and put the copy into a zipped folder so the assignment marker can run it offline on a web browser on her laptop

Settings added to the mod_assign settings page

URL submission (select yesno, default to no)

[Help text] When set to yes, a text box for entering a web page address will be visible to students as one of their forms of submitting the assignment

Changes to submission settings interface

URL submission

If the URL submission select yesno is set to yes, a text box for entering a web page URL will be visible to students as one of their forms of submitting the assignment. Anything entered in the box will be checked to ensure that the input is in a valid web address format before the assignment submission can be saved and submitted for grading

URL submission section addition in the submission page interface

URL submission section

Additional submission section containing a text box for entering a web page URL is added and appearing in the submission page when this feature is enabled and its setting is set to yes.

Use Cases

A teacher is creating an assignment and she does not wish students to submit web page URL as their assignment submissions

  • Create an assignment and leave the new setting in URL submission at its default (no)
    • URL submission: no

A teacher is creating an assignment for a creative writing unit she wishes all enrolled students in the unit to post an essay in their respective blogs and submit the URL of the blog that contains the essay as a form of the assignment submission

  • Create an assignment and change the default setting for URL submission in submission settings to 'yes'

User Interface

Submission settings screen

Assignment settings screen

Submission page screen when url submission is set to 'yes'

Submission page screen