From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: tantalum Newsgroups: gmane.lisp.guile.user 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 Message-ID: References: <7e764800d20ac50666505c8afd815228@posteo.de> <170ab4726ffc855455b8810293414a1f@posteo.de> <19732d113351a76847a177065d9f051f@hypermove.net> Reply-To: sph@posteo.eu NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1482435787 23297 195.159.176.226 (22 Dec 2016 19:43:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 22 Dec 2016 19:43:07 +0000 (UTC) User-Agent: Posteo Webmail Cc: Guile user , guile-user-bounces+amirouche=hypermove.net@gnu.org To: Amirouche Boubekki Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Dec 22 20:43:01 2016 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cK9GT-0004y8-Dt for guile-user@m.gmane.org; Thu, 22 Dec 2016 20:42:57 +0100 Original-Received: from localhost ([::1]:35935 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cK9GX-0004W8-Rx for guile-user@m.gmane.org; Thu, 22 Dec 2016 14:43:01 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45495) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cK9GB-0004Vz-0Y for guile-user@gnu.org; Thu, 22 Dec 2016 14:42:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cK9G7-0000bk-RP for guile-user@gnu.org; Thu, 22 Dec 2016 14:42:39 -0500 Original-Received: from mout02.posteo.de ([185.67.36.66]:55729) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cK9G7-0000ZB-FV for guile-user@gnu.org; Thu, 22 Dec 2016 14:42:35 -0500 Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id E44BC20B33 for ; Thu, 22 Dec 2016 20:42:31 +0100 (CET) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3tl23n0QwpzyrG; Thu, 22 Dec 2016 20:42:29 +0100 (CET) Mail-Reply-To: sph@posteo.eu In-Reply-To: <19732d113351a76847a177065d9f051f@hypermove.net> X-Sender: sph@posteo.eu X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 185.67.36.66 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:13043 Archived-At: 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?