My fourth extension, Random Quotes helps to generate different types of Quotes and Motivational Speeches Offline. Soon, Different functions will be added in the extension.
This block find out whether the quote generated has written by any writer or the writer is unknown. It is boolean function and return true if quote has writer else it will return false.
Actually when you generate any quote, It contains both Quote and its author. This block will help to separate the writer and return only Quote.
As I have said, the quote contains both the quote and its author. This block will help you to separate the Quote and only return the Writer name.
This block will generate a random famous quote from 100 of quotes.
This block will generate a random life quotes. It return quotes as string value.
This block will generate the random birthday quotes. It return quotes as string value.
And there are more properties respectively to generate different types of quotes.
To show random quotes , you may have to generate quotes using different properties available and check whether the quote has Writer or not. If Quote has writer then you can separate both writer name and quotes and use them differently.
Here i am generating random romantic quotes as valentine day is coming near :
In Designer part I have made two labels, One to show Quote and another to show Author. Here, At first I made a variable named as romantic_quote and saved generated quote to be stored in the variable so that we can work for same quote then i checked whether the quote has author name or not . If yes then it will show both author name and quote else it will show only quote.Here is the result:
It can be considered as the beta version of this extension. I will be adding more functions, more types of Quotes as well as I will be adding Online Quote Generator which will have function of loading different types of quotes online so that we can update more quotes without updating extension.
I wanted some users to help me developing this extension by providing me quotes in a format. PM me if you can help me.
Thankyou to Kodular for this amazing platform and Thankyou to all of you guys helping me in any problems.
Keep ding ,Keep Smiling
This project is now open source . You can edit according to your choice: