added possibility to use resources as text and title
Merge pull request #16 from Leandros/patch-3

added possibility to use resources as text and title