Update Publishing_Process.md

This commit is contained in:
Mike Barela 2019-09-02 19:05:02 -04:00 committed by GitHub
parent d5ed93cc71
commit 7a046e369b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
## Steps to get the Python on Microcontrollers Newsletter from GitHub to <span class="SpellE">Wordpress</span>
## Steps to get the Python on Microcontrollers Newsletter from GitHub to Wordpress
Mike September 2, 2019
@ -8,7 +8,7 @@ Mike September 2, 2019
4. Add the asset pictures to the Media section of the Wordpress site for adafruitdaily.com
5. Go to https://adafruit.github.io/circuitpython-weekly-newsletter/ and open the latest newsletter
6. Use browser “view source” and copy all the HTML from the <h2>title</h2> (just past <!-- main content-wrapping table -->) to and including the paragraph
<p>The CircuitPython Weekly Newsletter is a CircuitPython community-run newsletter emailed every Tuesday. The complete <a href="https://www.adafruitdaily.com/category/circuitpython/">archives are here</a>. It highlights the latest CircuitPython related news from around the web including Python and MicroPython developments. To contribute, edit next weeks draft <a href="https://github.com/adafruit/circuitpython-weekly-newsletter/tree/gh-pages/_drafts">on GitHub</a> and <a href="https://help.github.com/articles/editing-files-in-your-repository/">submit a pull request</a> with the changes. Join our <a href="https://adafru.it/discord">Discord</a> or <a href="https://forums.adafruit.com/viewforum.php?f=60">post to the forum</a> for any further questions.</p>
> The CircuitPython Weekly Newsletter is a CircuitPython community-run newsletter emailed every Tuesday. The complete <a href="https://www.adafruitdaily.com/category/circuitpython/">archives are here</a>. It highlights the latest CircuitPython related news from around the web including Python and MicroPython developments. To contribute, edit next weeks draft <a href="https://github.com/adafruit/circuitpython-weekly-newsletter/tree/gh-pages/_drafts">on GitHub</a> and <a href="https://help.github.com/articles/editing-files-in-your-repository/">submit a pull request</a> with the changes. Join our <a href="https://adafru.it/discord">Discord</a> or <a href="https://forums.adafruit.com/viewforum.php?f=60">post to the forum</a> for any further questions.
7. The trick is to take that text and replace some strings in it to change the image links from GitHub to Wordpress. For this I use notepad++ but many text editors have a search and replace function.
a. Find the strings ../assets/09032019 (use the current date) and replace with
https://cdn-daily-blog.adafruitdaily.com/uploads/2019/09 (09 is the current month)