FlyMine News

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

FlyMine News

Vallejos, Andrew

Where do you setup and define FlyMine’s News section on the front page?

 

Thanks,

 

Andrew

 

======================

Andrew Vallejos

Web Developer II

Biotechnology and Bioengineering Center

Medical College of Wisconsin

414-955-4104

[hidden email]

 


_______________________________________________
dev mailing list
[hidden email]
http://mail.intermine.org/cgi-bin/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: FlyMine News

Julie Sullivan
Add these two attributes to your `~/.intermine/ratmine.properties` file:

# if `project.rss` isn't defined, the entire news section in purple doesn't
# appear
project.rss=http://blog.flymine.org/?feed=rss2
# `more` link goes here
project.news=http://blog.flymine.org

Vallejos, Andrew wrote:

> Where do you setup and define FlyMine’s News section on the front page?
>
>  
>
> Thanks,
>
>  
>
> Andrew
>
>  
>
> ======================
>
> Andrew Vallejos
>
> Web Developer II
>
> Biotechnology and Bioengineering Center
>
> Medical College of Wisconsin
>
> 414-955-4104
>
> [hidden email]
>
>  
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> dev mailing list
> [hidden email]
> http://mail.intermine.org/cgi-bin/mailman/listinfo/dev

_______________________________________________
dev mailing list
[hidden email]
http://mail.intermine.org/cgi-bin/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: FlyMine News

Vallejos, Andrew
Thanks!

I got one up and running on Dev.  But the URL of the actual news item is
not correct.  

It should be: http://twitter.com/RGD_RatMine/statuses/21914859694

But instead: https://twitter.com/RGD_RatMine/2010/08

The more... link does work correctly.

-Andrew

-----Original Message-----
From: Julie Sullivan [mailto:[hidden email]]
Sent: Monday, August 16, 2010 10:13 AM
To: Vallejos, Andrew
Cc: [hidden email]
Subject: Re: [InterMine Dev] FlyMine News

Add these two attributes to your `~/.intermine/ratmine.properties` file:

# if `project.rss` isn't defined, the entire news section in purple
doesn't
# appear
project.rss=http://blog.flymine.org/?feed=rss2
# `more` link goes here
project.news=http://blog.flymine.org

Vallejos, Andrew wrote:
> Where do you setup and define FlyMine's News section on the front
page?

>
>  
>
> Thanks,
>
>  
>
> Andrew
>
>  
>
> ======================
>
> Andrew Vallejos
>
> Web Developer II
>
> Biotechnology and Bioengineering Center
>
> Medical College of Wisconsin
>
> 414-955-4104
>
> [hidden email]
>
>  
>
>
>
------------------------------------------------------------------------
>
> _______________________________________________
> dev mailing list
> [hidden email]
> http://mail.intermine.org/cgi-bin/mailman/listinfo/dev

_______________________________________________
dev mailing list
[hidden email]
http://mail.intermine.org/cgi-bin/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: FlyMine News

Julie Sullivan
We have our news configured to work for our blog, which is wordpress.  InterMine
isn't on twitter, yet.  :)

In AjaxServices.java, update this line (around 1053):

        String url = properties.getProperty("project.news") + "/"
                + year + "/"
                + monthString;
To be this:

        String url = syndEntry.getLink();

That will set the URL to be the <link> attribute in the RSS feed, which is what
you want.

I'll update the code and this fix will be included in 0.94.

Vallejos, Andrew wrote:

> Thanks!
>
> I got one up and running on Dev.  But the URL of the actual news item is
> not correct.  
>
> It should be: http://twitter.com/RGD_RatMine/statuses/21914859694
>
> But instead: https://twitter.com/RGD_RatMine/2010/08
>
> The more... link does work correctly.
>
> -Andrew
>
> -----Original Message-----
> From: Julie Sullivan [mailto:[hidden email]]
> Sent: Monday, August 16, 2010 10:13 AM
> To: Vallejos, Andrew
> Cc: [hidden email]
> Subject: Re: [InterMine Dev] FlyMine News
>
> Add these two attributes to your `~/.intermine/ratmine.properties` file:
>
> # if `project.rss` isn't defined, the entire news section in purple
> doesn't
> # appear
> project.rss=http://blog.flymine.org/?feed=rss2
> # `more` link goes here
> project.news=http://blog.flymine.org
>
> Vallejos, Andrew wrote:
>> Where do you setup and define FlyMine's News section on the front
> page?
>>  
>>
>> Thanks,
>>
>>  
>>
>> Andrew
>>
>>  
>>
>> ======================
>>
>> Andrew Vallejos
>>
>> Web Developer II
>>
>> Biotechnology and Bioengineering Center
>>
>> Medical College of Wisconsin
>>
>> 414-955-4104
>>
>> [hidden email]
>>
>>  
>>
>>
>>
> ------------------------------------------------------------------------
>> _______________________________________________
>> dev mailing list
>> [hidden email]
>> http://mail.intermine.org/cgi-bin/mailman/listinfo/dev
>

_______________________________________________
dev mailing list
[hidden email]
http://mail.intermine.org/cgi-bin/mailman/listinfo/dev