| 1 |
|
| 2 |
|
| 3 |
n |
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
SHADOW = """ |
| 11 |
<span class="shadow"> |
| 12 |
<img src="{src}" class="smshadow" width="{width}" height="{height}"> |
| 13 |
</span> |
| 14 |
<br><br> |
| 15 |
""" |
| 16 |
|
| 17 |
HEADER = """<div usr class="gr"> |
| 18 |
<div class="metadata"> |
| 19 |
<h2><a href="{url}">{title}</a></h2> |
| 20 |
<ul> |
| 21 |
<li class="author"> |
| 22 |
by <span class="name"><span class="username-with-symbol u"> |
| 23 |
<a class="u regular username" href="{userurl}">{username}</a>\ |
| 24 |
<span class="user-symbol regular"></span></span></span>, |
| 25 |
<span>{date}</span> |
| 26 |
</li> |
| 27 |
</ul> |
| 28 |
</div> |
| 29 |
""" |
| 30 |
|
| 31 |
HEADER_CUSTOM = """<div class='boxtop journaltop'> |
| 32 |
<h2> |
| 33 |
<img src="https://st.deviantart.net/minish/gruzecontrol/icons/journal.gif\ |
| 34 |
?2" style="vertical-align:middle" alt=""/> |
| 35 |
<a href="{url}">{title}</a> |
| 36 |
</h2> |
| 37 |
Journal Entry: <span>{date}</span> |
| 38 |
""" |
| 39 |
|
| 40 |
HTML = """text:<!DOCTYPE html> |
| 41 |
<html> |
| 42 |
<head> |
| 43 |
<meta charset="utf-8"> |
| 44 |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 45 |
<title>{title}</title> |
| 46 |
<link rel="stylesheet" href="https://st.deviantart.net\ |
| 47 |
/css/deviantart-network_lc.css?3843780832"/> |
| 48 |
<link rel="stylesheet" href="https://st.deviantart.net\ |
| 49 |
/css/group_secrets_lc.css?3250492874"/> |
| 50 |
<link rel="stylesheet" href="https://st.deviantart.net\ |
| 51 |
/css/v6core_lc.css?4246581581"/> |
| 52 |
<link rel="stylesheet" href="https://st.deviantart.net\ |
| 53 |
/css/sidebar_lc.css?1490570941"/> |
| 54 |
<link rel="stylesheet" href="https://st.deviantart.net\ |
| 55 |
/css/writer_lc.css?3090682151"/> |
| 56 |
<link rel="stylesheet" href="https://st.deviantart.net\ |
| 57 |
/css/v6loggedin_lc.css?3001430805"/> |
| 58 |
<style>{css}</style> |
| 59 |
<link rel="stylesheet" href="https://st.deviantart.net\ |
| 60 |
/roses/cssmin/core.css?1488405371919"/> |
| 61 |
<link rel="stylesheet" href="https://st.deviantart.net\ |
| 62 |
/roses/cssmin/peeky.css?1487067424177"/> |
| 63 |
<link rel="stylesheet" href="https://st.deviantart.net\ |
| 64 |
/roses/cssmin/desktop.css?1491362542749"/> |
| 65 |
<link rel="stylesheet" href="https://static.parastorage.com/services\ |
| 66 |
/da-deviation/2bfd1ff7a9d6bf10d27b98dd8504c0399c3f9974a015785114b7dc6b\ |
| 67 |
/app.min.css"/> |
| 68 |
<link rel="stylesheet" href="style.css"> |
| 69 |
</head> |
| 70 |
<body id="deviantART-v7" class="bubble no-apps loggedout w960 deviantart"> |
| 71 |
<div id="output"> |
| 72 |
<div class="dev-page-container bubbleview"> |
| 73 |
<div class="dev-page-view view-mode-normal"> |
| 74 |
<div class="dev-view-main-content"> |
| 75 |
<div class="dev-view-deviation"> |
| 76 |
{shadow} |
| 77 |
<div class="journal-wrapper tt-a"> |
| 78 |
<div class="journal-wrapper2"> |
| 79 |
<div class="journal {cls} journalcontrol"> |
| 80 |
{html} |
| 81 |
</div> |
| 82 |
</div> |
| 83 |
</div> |
| 84 |
</div> |
| 85 |
</div> |
| 86 |
</div> |
| 87 |
</div> |
| 88 |
</div> |
| 89 |
</body> |
| 90 |
</html> |
| 91 |
""" |
| 92 |
|
| 93 |
HTML_EXTRA = """\ |
| 94 |
<div id="devskin0"><div class="negate-box-margin" style="">\ |
| 95 |
<div usr class="gr-box gr-genericbox" |
| 96 |
><i usr class="gr1"><i></i></i |
| 97 |
><i usr class="gr2"><i></i></i |
| 98 |
><i usr class="gr3"><i></i></i |
| 99 |
><div usr class="gr-top"> |
| 100 |
<i usr class="tri"></i> |
| 101 |
{} |
| 102 |
</div> |
| 103 |
</div><div usr class="gr-body"><div usr class="gr"> |
| 104 |
<div class="grf-indent"> |
| 105 |
<div class="text"> |
| 106 |
{} </div> |
| 107 |
</div> |
| 108 |
</div></div> |
| 109 |
<i usr class="gr3 gb"></i> |
| 110 |
<i usr class="gr2 gb"></i> |
| 111 |
<i usr class="gr1 gb gb1"></i> </div> |
| 112 |
</div></div>""" |
| 113 |
|
| 114 |
TEXT = """text:{title} |
| 115 |
by {username}, {date} |
| 116 |
|
| 117 |
{content} |
| 118 |
""" |