Skip to content

Commit

Permalink
META Manual WP blog markup cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
dltj committed Aug 12, 2024
1 parent 118e9ba commit f1045a1
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 14 deletions.
2 changes: 2 additions & 0 deletions content/2006-09-05-referer-script.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ Second, if what was received was not what was expected:
This 'referrer problem' seems to be happening more as a result of personal firewall software and other "helpful" agents. Setting aside for the moment the question of whether relying on the HTTP Referer <footnote>By the way, "Referer" is not a typo here &mdash; it is arguably a typo in the original HTTP specification</footnote> URL is an acceptable or wise programming choice, if one of your standard troubleshooting tactics doesn't work you may want to try this one.

```perl
#!/usr/bin/perl
##
###########################################################################
Expand Down Expand Up @@ -261,3 +262,4 @@ sub handle_die {
print HTMLfooter();
exit;
}
```
24 changes: 12 additions & 12 deletions content/2006-09-06-description-datastream.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -113,23 +113,23 @@ comments:
http://drc.ohiolink.edu/schema/schema.xsd"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcterms="http://purl.org/dc/terms/">
<dc :title>Catalpa speciosa, bignonoides and Kampfera seeds.</dc>
<dc :creator>Ohio Agricultural Experiment Station. Dept. of
<dc:title>Catalpa speciosa, bignonoides and Kampfera seeds.</dc>
<dc:creator>Ohio Agricultural Experiment Station. Dept. of
Forestry.</dc>
<dc :description>Catalpa speciosa, bignonoides and Kampfera seeds.
<dc:description>Catalpa speciosa, bignonoides and Kampfera seeds.
Item #2</dc>
<dc :contributor>Ohio Agricultural Research and Development
<dc:contributor>Ohio Agricultural Research and Development
Center</dc>
<dc :date>1908-12</dc>
<dcterms :available xsi:type="dcterms:W3CDTF">
<dc:date>1908-12</dc>
<dcterms:available xsi:type="dcterms:W3CDTF">
2003-04-17T00:00:00
</dcterms>
<dc :type>photographic prints</dc>
<dc :identifier>hdl:21151</dc>
<dc :source>2</dc>
<dmci :spatial>Ohio</dmci>
<dc :rights>Copyright: Ohio State University</dc>
<dcterms :licence xsi:type="dcterms:URI">
<dc:type>photographic prints</dc>
<dc:identifier>hdl:21151</dc>
<dc:source>2</dc>
<dmci:spatial>Ohio</dmci>
<dc:rights>Copyright: Ohio State University</dc>
<dcterms:licence xsi:type="dcterms:URI">
http://library.osu.edu/sites/dlib/terms.html
</dcterms>
</metadata>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ comments:
---
<p>Up until about an hour ago, Technorati refused to update <span class="removed_link" title="http://www.technorati.com/blogs/http%3A%2F%2Fdltj.org">its database of postings to DLTJ</span>, and having reached the 31-day point of no updates I was starting to wonder what to do about it. I came up with two theories for which I put in fixes to the configuration and theme setup of DLTJ, but in the end I'm not sure if either definitively provides a solution for anyone else in the same situation. In the spirit of helping out one's neighbors, though, here are the theories and fixes. DLTJ is a standalone (e.g. not hosted) Wordpress 2.0.4 installation, so YMMV.</p>
<h2>Theory #1: Technorati Doesn't Like Feedburner</h2>
<p>I read some blog posts and messages in the Feedburner forums that suggested blogs that use Feedburner were causing Technocrati to hick-up and not index content. My solution is to let Technorati see the raw feed and not get redirected to Feedburner. This is accomplished with additions to the Apache mod_rewrite rules in the <code>.htaccess</code> file.<br />
<p>I read some blog posts and messages in the Feedburner forums that suggested blogs that use Feedburner were causing Technocrati to hick-up and not index content. My solution is to let Technorati see the raw feed and not get redirected to Feedburner. This is accomplished with additions to the Apache mod_rewrite rules in the <code>.htaccess</code> file.

```text
<ifmodule mod_rewrite.c>
RewriteEngine On
Expand Down Expand Up @@ -64,7 +65,7 @@ if (preg_match("/Technorati/i", "$useragent")) {
// do the really nice stuff for everyone else
}
```
(Remember to surround the appropriate parts of the PHP markup with <code><?php</code> and <code>?></code>...)</p>
(Remember to surround the appropriate parts of the PHP markup with <code>&lt;?php</code> and <code>?&gt;</code>...)</p>
<h2>Why I May Never Know If Either of These Is Needed</h2>
<p>Shortly after I put these two changes in place (literally, after a week of sending e-mails to Technorati's tech support and two hours after coding these fixes) I got a note from Technorati saying:</p>
<blockquote><p>
Expand Down

0 comments on commit f1045a1

Please sign in to comment.