⌈⌋ ⎇ branch:  freshcode


Check-in [dc75170546]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add beOpen to news and page_links
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: dc751705467fa7242c06e06f70e40e523d58a69e
User & Date: mario 2014-10-28 21:12:03
Context
2014-10-28
21:13
Introduce structured metadata (HTML5 itemscope/itemtype) for Google display. check-in: 0a41182c57 user: mario tags: trunk
21:12
Add beOpen to news and page_links check-in: dc75170546 user: mario tags: trunk
2014-10-20
19:56
Print full license name as title= attribute for tags. check-in: dba5ebc957 user: mario tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to cron.daily/news_feeds.php.

17
18
19
20
21
22
23

24
25
26
27
28
29
30
#-- RSS
$feeds = array(
    "reddit" => "http://www.reddit.com/r/linux/.rss",
    "linuxcom" => "http://www.linux.com/news/software?format=feed&type=rss",
    "linuxgames" => "http://www.linuxgames.com/feed",
    "sourceforge" => "http://sourceforge.net/directory/release_feed/",
    "distrowatch" => "http://distrowatch.com/news/dwd.xml",

);
$filter = 
    "/Please 'report' off-topic|namelessrom|machomebrew/"
;

#-- Traverse and collect entries
foreach ($feeds as $name=>$url) {







>







17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#-- RSS
$feeds = array(
    "reddit" => "http://www.reddit.com/r/linux/.rss",
    "linuxcom" => "http://www.linux.com/news/software?format=feed&type=rss",
    "linuxgames" => "http://www.linuxgames.com/feed",
    "sourceforge" => "http://sourceforge.net/directory/release_feed/",
    "distrowatch" => "http://distrowatch.com/news/dwd.xml",
    "beopen" => "http://beopen.bplaced.net/category/projects/feed/",
);
$filter = 
    "/Please 'report' off-topic|namelessrom|machomebrew/"
;

#-- Traverse and collect entries
foreach ($feeds as $name=>$url) {

Added img/links/beopen.bplaced.net.jpeg.

cannot compute difference between binary files

Changes to img/links/github.com.jpeg.

cannot compute difference between binary files

Changes to img/links/launchpad.net.jpeg.

cannot compute difference between binary files

Changes to page_links.php.

1
2
3
4
5
6
7
8

9
10
11
12




13
14
15
16
17
18
19
<?php
/**
 * title: Links to other directories
 * description: Collection/overview of other software tracking / link lists.
 * version: 0.7
 *
 *
 * ToDo

 *  - http://www.datamation.com/open-source/open-source-software-the-mega-list-1.html
 *  - http://www.datamation.com/osrc/article.php/3925806/Open-Source-Software-Top-59-Sites.htm
 *  - http://sourceforge.net/new/
 *  - http://flossmetrics.org/




 *
 */

#-- preferred languages
header("Vary: Accept-Language");
preg_match_all("/\b(\w\w)([-,\s;]\w*|$)/", $_SERVER->text["HTTP_ACCEPT_LANGUAGE"], $langs)
and $langs = $langs[1];








>




>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
/**
 * title: Links to other directories
 * description: Collection/overview of other software tracking / link lists.
 * version: 0.7
 *
 *
 * ToDo
 *  + http://www.fosshub.com/
 *  - http://www.datamation.com/open-source/open-source-software-the-mega-list-1.html
 *  - http://www.datamation.com/osrc/article.php/3925806/Open-Source-Software-Top-59-Sites.htm
 *  - http://sourceforge.net/new/
 *  - http://flossmetrics.org/
 *  - https://www.nuget.org/packages
 *  - http://pgfoundry.org/
 *  - http://www.antepedia.com/
 *  + http://beopen.bplaced.net/category/projects/
 *
 */

#-- preferred languages
header("Vary: Accept-Language");
preg_match_all("/\b(\w\w)([-,\s;]\w*|$)/", $_SERVER->text["HTTP_ACCEPT_LANGUAGE"], $langs)
and $langs = $langs[1];
277
278
279
280
281
282
283



284
285
286
287
288
289
290
      ["http://thechangelog.com/", "thechangelog.com.jpeg", "the changelog",
       "Is a blog and weekly podcast on open source development and interesting projects."
      ],
   //11
      ["http://alternativeto.net/software/sourceforge/", "alternativeto.net.jpeg", "AlternativeTo",
       "is an extensive meta cross-reference list of web sites and applications."
      ],



#      ["", "", "",
#       "",
#      ],
  ];

  
  // Write out our gallery  







>
>
>







282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
      ["http://thechangelog.com/", "thechangelog.com.jpeg", "the changelog",
       "Is a blog and weekly podcast on open source development and interesting projects."
      ],
   //11
      ["http://alternativeto.net/software/sourceforge/", "alternativeto.net.jpeg", "AlternativeTo",
       "is an extensive meta cross-reference list of web sites and applications."
      ],
      ["http://beopen.bplaced.net/category/projects/", "beopen.bplaced.net.jpeg", "BeOpen",
       "directorizes open source projects, software forges, news, events, links and organisations.",
      ],
#      ["", "", "",
#       "",
#      ],
  ];

  
  // Write out our gallery  

Changes to template/index_sidebar.php.

40
41
42
43
44
45
46





47
48
49
        <?php  include("template/feed.linuxgames.htm");  ?>
    </section>

    <section class="article-links untrimmed">
        <h5>Sourceforge Files</h5>
        <?php  include("template/feed.sourceforge.htm");  ?>
    </section>






 </aside>








>
>
>
>
>



40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
        <?php  include("template/feed.linuxgames.htm");  ?>
    </section>

    <section class="article-links untrimmed">
        <h5>Sourceforge Files</h5>
        <?php  include("template/feed.sourceforge.htm");  ?>
    </section>

    <section class="article-links trimmed">
        <h5>beOpen</h5>
        <?php  include("template/feed.beopen.htm");  ?>
    </section>

 </aside>