Jump to content
Ketarin forum

WordPress plugins/themes


shawn
 Share

Recommended Posts

I just started using this to monitor and keep a copy of the plugins and themes I use for the various WP sites I own or manage.

2017-06-13: Updated to improve compatibility with the new WordPress site.

2013-01-11: Updated to comply with wporg website changes.

2011-08-25: Updated to fix a version parsing bug and a theme parsing bug.

 

<?xml version='1.0' encoding='utf-8'?>
<Jobs>
  <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="debb1deb-1024-1975-abcd-aa0000000009" >
    <Name><placeholder name="Name?" value="" /></Name>
    <Category><placeholder name="Category?" value="Web" /></Category>
    <SourceType>FixedUrl</SourceType>
    <DeletePreviousFile><placeholder name="Delete Previous Version?" value="true" options="false|true" /></DeletePreviousFile>
    <WebsiteUrl></WebsiteUrl>
    <UserNotes />
    <IgnoreFileInformation>false</IgnoreFileInformation>
    <DownloadBeta>Default</DownloadBeta>
    <DownloadDate xsi:nil="true" />
    <CheckForUpdatesOnly>false</CheckForUpdatesOnly>
    <VariableChangeIndicator>version</VariableChangeIndicator>
    <CanBeShared>true</CanBeShared>
    <ShareApplication>false</ShareApplication>
    <ExclusiveDownload>false</ExclusiveDownload>
    <HttpReferer />
    <Variables>
      <item>
        <key>
          <string>tag</string>
        </key>
        <value>
          <UrlVariable>
            <RegexRightToLeft>false</RegexRightToLeft>
            <VariableType>Textual</VariableType>
            <Regex />
            <TextualContent><placeholder name="What is the plugin or theme tag from the URL at wordpress.org?" value="" /></TextualContent>
            <Name>tag</Name>
          </UrlVariable>
        </value>
      </item>
      <item>
        <key>
          <string>type</string>
        </key>
        <value>
          <UrlVariable>
            <RegexRightToLeft>false</RegexRightToLeft>
            <VariableType>Textual</VariableType>
            <Regex />
            <TextualContent><placeholder name="Plugin or Theme?" value="plugin" options="plugin|theme" /></TextualContent>
            <Name>type</Name>
          </UrlVariable>
        </value>
      </item>
      <item>
        <key>
          <string>swebsite</string>
        </key>
        <value>
          <UrlVariable>
            <RegexRightToLeft>false</RegexRightToLeft>
            <VariableType>Textual</VariableType>
            <Regex />
            <TextualContent>https://wordpress.org/extend/{type}s/{tag}/</TextualContent>
            <Name>swebsite</Name>
          </UrlVariable>
        </value>
      </item>
      <item>
        <key>
          <string>schangelog</string>
        </key>
        <value>
          <UrlVariable>
            <RegexRightToLeft>false</RegexRightToLeft>
            <VariableType>Textual</VariableType>
            <Regex />
            <TextualContent>https://wordpress.org/extend/{type}s/{tag}/changelog/</TextualContent>
            <Name>schangelog</Name>
          </UrlVariable>
        </value>
      </item>
      <item>
        <key>
          <string>version</string>
        </key>
        <value>
          <UrlVariable>
            <RegexRightToLeft>false</RegexRightToLeft>
            <VariableType>RegularExpression</VariableType>
            <Regex>"softwareVersion"\s*:\s*"([^'"]+)"</Regex>
            <Url>https://wordpress.org/extend/{type}s/{tag}/</Url>
            <Name>version</Name>
          </UrlVariable>
        </value>
      </item>
      <item>
        <key>
          <string>sdownload</string>
        </key>
        <value>
          <UrlVariable>
            <RegexRightToLeft>false</RegexRightToLeft>
            <VariableType>RegularExpression</VariableType>
            <Regex>href=['"](https?://(downloads.)?wordpress.org/[^&lt;&gt;]+zip)['"]&gt;Download</Regex>
            <Url>https://wordpress.org/extend/{type}s/{tag}/</Url>
            <Name>sdownload</Name>
          </UrlVariable>
        </value>
      </item>
      <item>
        <key>
          <string>srequires</string>
        </key>
        <value>
          <UrlVariable>
            <RegexRightToLeft>false</RegexRightToLeft>
            <VariableType>RegularExpression</VariableType>
            <Regex>&lt;strong&gt;Requires WordPress Version:&lt;/strong&gt; ([\d\.]+) </Regex>
            <Url>https://wordpress.org/extend/{type}s/{tag}/</Url>
            <Name>srequires</Name>
          </UrlVariable>
        </value>
      </item>
      <item>
        <key>
          <string>supdated</string>
        </key>
        <value>
          <UrlVariable>
            <RegexRightToLeft>false</RegexRightToLeft>
            <VariableType>RegularExpression</VariableType>
            <Regex>&lt;strong&gt;Last Updated:&lt;/strong&gt; ([\d\-]+)</Regex>
            <Url>https://wordpress.org/extend/{type}s/{tag}/</Url>
            <Name>supdated</Name>
          </UrlVariable>
        </value>
      </item>
      <item>
        <key>
          <string>scompatible</string>
        </key>
        <value>
          <UrlVariable>
            <RegexRightToLeft>false</RegexRightToLeft>
            <VariableType>RegularExpression</VariableType>
            <Regex>&lt;strong&gt;Compatible up to:&lt;/strong&gt; ([\d\.]+)</Regex>
            <Url>https://wordpress.org/extend/{type}s/{tag}/</Url>
            <Name>scompatible</Name>
          </UrlVariable>
        </value>
      </item>
      <item>
        <key>
          <string>snotes</string>
        </key>
        <value>
          <UrlVariable>
            <RegexRightToLeft>false</RegexRightToLeft>
            <VariableType>Textual</VariableType>
            <Regex />
            <Name>snotes</Name>
          </UrlVariable>
        </value>
      </item>
      <item>
        <key>
          <string>spc</string>
        </key>
        <value>
          <UrlVariable>
            <RegexRightToLeft>false</RegexRightToLeft>
            <VariableType>Textual</VariableType>
            <Regex />
            <TextualContent>wordpress</TextualContent>
            <Name>spc</Name>
          </UrlVariable>
        </value>
      </item>
    </Variables>
    <ExecuteCommand />
    <ExecutePreCommand />
    <Enabled>true</Enabled>
    <FileHippoId />
    <TargetPath>.\{category}\{appname:regexreplace:([\s\t\r\n\-\\&amp;]+):_}-{version}.{url:ext}</TargetPath>
    <FixedDownloadUrl>{sdownload}</FixedDownloadUrl>
  </ApplicationJob>
</Jobs>

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.