Hot & Horny/Help Transferring: Difference between revisions
Styxarcher (talk | contribs) mNo edit summary |
Styxarcher (talk | contribs) mNo edit summary |
||
Line 14: | Line 14: | ||
https://regex101.com/r/hAr7Gz/287 | https://regex101.com/r/hAr7Gz/287 | ||
=== Find === | === Find === | ||
<code>( | <code>(Four Spaces)(.*?)\r</code> | ||
The first brackets <code>( | The first brackets <code>(Four Spaces)</code> is where the selection starts the spaces that are created when copying from a bullet list. | ||
The second brackets <code>(.*?)</code> is a wildcard selection of wording. | The second brackets <code>(.*?)</code> is a wildcard selection of wording. | ||
Line 22: | Line 22: | ||
The final section <code>\r</code> is where it stops selecting. | The final section <code>\r</code> is where it stops selecting. | ||
As such the search function starts looking for 4 spaces <code>( | As such the search function starts looking for 4 spaces <code>(Four Spaces)</code>, allows anything in between <code>(.*?)</code> and than looks for a newline <code>\r</code>. | ||
=== Replace === | === Replace === |
Revision as of 02:57, 25 March 2020
General Information
The information here is as much for me as for anyone else.
Much of the censorship of this story occurred between September 2015, and January 2016. As such the try to only use pages that are from before or on September 2015. For this transfer I am primarily using web.archive. The specific capture is linked bellow. Be warned the site can and will force you onto the latest capture every now and then so keep an eye on it.
https://web.archive.org/web/20150825102530/http://editthis.info/create_your_own_story/Hot_and_Horny
20150825102530 Is the capture ID. 2015, August(08) 25th. I have downloaded the entire archive as a few of the pages will not load normally.
Notepad ++
I have not discovered a faster, non-manual way to do transfer pages so I am using Notepad++ with Regex.
If you look at the link bellow it contains an example of how I am quickly formatting the page links. However a note, while the website ends the commands with a \n, you must use a \r, else it will not register the correct lines. https://regex101.com/r/hAr7Gz/287
Find
(Four Spaces)(.*?)\r
The first brackets (Four Spaces)
is where the selection starts the spaces that are created when copying from a bullet list.
The second brackets (.*?)
is a wildcard selection of wording.
The final section \r
is where it stops selecting.
As such the search function starts looking for 4 spaces (Four Spaces)
, allows anything in between (.*?)
and than looks for a newline \r
.
Replace
*$2\r
The replace is also divided into three sections.
*[[Hot & Horny/Josh/
The first being what to replace the spaces with. *[[Hot & Horny/Josh/|
The starting *[[
and the ending | is for the link. The Hot & Horny/Josh/
states the current link location, you still must add the next link (EX: Hot & Horny/Josh/Shower|
).
$2
This represents the second set of brackets you search for. It states to place anything found within the wildcard search (.*?) at this location.
]]\r
End the line after the words. ]]
Is to close the link. And \r
is to replace the the new line that is selected and removed.