guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ANN] sph command-line interface library, automatic testing and guil


From: tantalum
Subject: Re: [ANN] sph command-line interface library, automatic testing and guile projects list as csv
Date: Thu, 22 Dec 2016 19:42:28 +0000
User-agent: Posteo Webmail

on https://www.sitemaps.org/protocol.html it says:

"Also, all URLs in a Sitemap must be from a single host, such as www.example.com or store.example.com. For further details, refer the Sitemap file location" (https://www.sitemaps.org/protocol.html#location)

since all urls in the list are to external hosts it does not seem as if this would be valid. maybe i can extend the html with structured data annotations instead http://schema.org/SoftwareApplication. i would think search engines can do well with html.
i will probably implement this at some point.

On 2016-12-22 19:11, Amirouche Boubekki wrote:
On 2016-12-22 19:09, tantalum wrote:
Would it be possible to have that list using an xml format that can be consumed by search engines?
yes. do you have a specific format in mind? i have heard of "sitemap" format

I was thinking about sitemap indeed.


Fun! How did you do that?

with word lists for specific parts of speech, like this:

(define-as verb vector
  "extend" "revolutionise"
  "offer" "obtain"
  "access" "improve")

and then patterns like this:

(define patterns
    (list->vector
      (let*
        ( (source
(list (list verb "and" verb noun "to" goal "with" adjective noun)
              (list verb "," verb "and" verb noun)
              (list adjective noun predicative-adjective combinator
adjective noun)
              (list (random-choice "" verb goal-prefix) adjective
                adjective noun (random-choice "" noun noun))
(list verb "your" adjective noun "and" verb adjective noun)
              (list verb noun predicative-adjective "and" verb
adjective noun predicative-adjective)
              (list (random-choice verb goal) noun
                predicative-adjective combinator noun combinator
adjective noun predicative-adjective)
              (list verb "and" verb adjective adjective noun)
              (list noun noun combinator noun predicative-adjective)))
          (source+goal
            (map (l (e) (if (eq? verb (first e)) (append e (list "and"
goal)) e)) source)))
        (append source source+goal))))

the patterns are then used to create sentences with words selected
from the lists they contain. the words are selected in random order
and with making sure that a word has not already been used in the same
sentence.

here is the source code: http://files.sph.mn/s/computer/create-marketing-bs.scm


On 2016-12-21 19:34, Amirouche Boubekki wrote:
On 2016-03-24 00:10, tantalum wrote:
i am happy to announce a new version of the (sph cli) library for
command-line option parsing.
a big new feature besides general improvements is integrated support
for sub commands similar to what "git" has (git push, git pull and the
like).
the library documentation and overview can be found here:
http://sph.mn/content/49f

apart from command-line interfaces, i did something for automatic
testing. (sph test) has been rewritten and now has test modules. you
can have a look at it here:
http://sph.mn/content/97b

also, the list of guile related projects on the net is now available
as a csv download via a link on the page.
http://sph.mn/content/3e73

Would it be possible to have that list using an xml format that can
be consumed by search engines? Please? Maybe I can help making a patch?


and while we are at it, for fun, http://sph.mn/o/bs generates weird
business software marketing headlines and topics.

Fun! How did you do that?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]