Connacht Clan

Official Supporters Club of Connacht Rugby

Connacht Clan BLACK MURTY RABBITTS

Create Website Articles

  • Diom
  • Offline
  • Administrator
  • Administrator
  • Rise Up, Something Up
More
12 years 6 months ago - 12 years 6 months ago #20296 by Diom
Replied by Diom on topic Re: Create Website Articles

pinky wrote:

ummm, wrote: We've already got one at connachtclan.com/news?format=feed&type=rss

But a feed typically has a headline, brief description and a link to detailed info, in our case the full article. Feeds don't provide the whole article, it'd be too big.


Didn't realise that was there. Might stick in a link to it. Though maybe RSS is gone out of fashion.

I didn't want to say anything Pinky... :blush:

A Connacht is not just for the Xmas Inter-Pros...
A Connacht is for Life
Last edit: 12 years 6 months ago by Diom.

Please Log in or Create an account to join the conversation.

More
12 years 6 months ago #20291 by pinky
Replied by pinky on topic Re: Create Website Articles

ummm, wrote: We've already got one at connachtclan.com/news?format=feed&type=rss

But a feed typically has a headline, brief description and a link to detailed info, in our case the full article. Feeds don't provide the whole article, it'd be too big.


Didn't realise that was there. Might stick in a link to it. Though maybe RSS is gone out of fashion.

Please Log in or Create an account to join the conversation.

  • ummm,
  • Offline
  • Platinum Member
  • Platinum Member
  • Water Boarder
More
12 years 6 months ago - 12 years 6 months ago #20241 by ummm,
Replied by ummm, on topic Re: Create Website Articles
Lookin' fiiiiiiine!

As long as everyone sticks to that CSS style then we're good to go, and I don't have to do any work :)

]

Justice 4 Faruk
Last edit: 12 years 6 months ago by sea_point.
The following user(s) said Thank You: Diom

Please Log in or Create an account to join the conversation.

  • Diom
  • Offline
  • Administrator
  • Administrator
  • Rise Up, Something Up
More
12 years 6 months ago - 12 years 6 months ago #20207 by Diom
Replied by Diom on topic Re: Create Website Articles

ummm, wrote: Big long tech description follows, feel free to ignore... :)

Yes and no ...


Well if the rest of the article is HTML we should be able to make the image scale.

EDIT:
I've updated that img to have the following CSS:
width: 100%; max-width:450px;

That means that it will take up 100% of the width of the containing element if the containing element is less than 450px wide. Let me know if it works or not.

A Connacht is not just for the Xmas Inter-Pros...
A Connacht is for Life
Last edit: 12 years 6 months ago by Diom.

Please Log in or Create an account to join the conversation.

  • ummm,
  • Offline
  • Platinum Member
  • Platinum Member
  • Water Boarder
More
12 years 6 months ago #20200 by ummm,
Replied by ummm, on topic Re: Create Website Articles
We've already got one at connachtclan.com/news?format=feed&type=rss

But a feed typically has a headline, brief description and a link to detailed info, in our case the full article. Feeds don't provide the whole article, it'd be too big.

Justice 4 Faruk

Please Log in or Create an account to join the conversation.

More
12 years 6 months ago #20199 by pinky
Replied by pinky on topic Re: Create Website Articles
Next thing I was going to look at was setting up an RSS feed for the news articles. Would that help your cause?

Please Log in or Create an account to join the conversation.

  • ummm,
  • Offline
  • Platinum Member
  • Platinum Member
  • Water Boarder
More
12 years 6 months ago - 12 years 6 months ago #20190 by ummm,
Replied by ummm, on topic Re: Create Website Articles
Big long tech description follows, feel free to ignore... :)

Yes and no, it's partially a web page. The articles are presented as a headline text box, an image box and then the rest of the article is the article body embedded in a web page.

This is done for a number of reasons, mostly to do with presentation. I want to control the headline size better and I want the main image more prominent. Also with iOS 7 the new edicts from the UI guidelines is for featured images to be entirely edge to edge, so I need to control this rather than having a web page making the layout decisions for me. This is what it looks like on the iOS 7 right now...


Everything else below the photo is an embedded web page, this means links etc will work. But if there are photos in the article then I have to either scale the web page down, which means shrinking text and possibly making things unreadable (and also breaks typographical consistency, which would be a big no no), or I have to manually edit any other images to make sure they aren't over the width of the screen.

This I can do, and I'll have a look at it this weekend, it might not be that big a problem. But as it stands all current versions of the app out there won't handle multiple images nicely. So for the moment there shouldn't be multiple images, but in future versions I can sort it out.

Incidentally this is why I was hoping there was another way to access news articles as ordinary text via JSON feeds instead of parsing raw HTML, which is icky.

Justice 4 Faruk
Last edit: 12 years 6 months ago by sea_point.

Please Log in or Create an account to join the conversation.

  • Diom
  • Offline
  • Administrator
  • Administrator
  • Rise Up, Something Up
More
12 years 6 months ago #20186 by Diom
Replied by Diom on topic Re: Create Website Articles
Must be a way to get that to work? Can I use a percentage width and height specifier to get it to rescale when the app is looking at it?
Is it presented as a web-page in the app?

A Connacht is not just for the Xmas Inter-Pros...
A Connacht is for Life

Please Log in or Create an account to join the conversation.

  • ummm,
  • Offline
  • Platinum Member
  • Platinum Member
  • Water Boarder
More
12 years 6 months ago - 12 years 6 months ago #20185 by ummm,
Replied by ummm, on topic Re: Create Website Articles
Me again...

- Like Diom said, stick to the image dimensions. <strong>And don't add any extra images, the app will end up looking awful.</strong>


It's a nice photo of Wilko in the Dail article, but looks bad on the app

Justice 4 Faruk
Last edit: 12 years 6 months ago by sea_point.

Please Log in or Create an account to join the conversation.

  • sea_point
  • Offline
  • Moderator
  • Moderator
  • Praetorian Guard
More
12 years 7 months ago #19732 by sea_point
Replied by sea_point on topic Re: Create Website Articles

Decadence wrote: To be fair to Borders, it was me who copied that content into an article. I even copied it into a text editor first! Didn't catch the & though...


Too good for him... :evil:

Please Log in or Create an account to join the conversation.

  • ummm,
  • Offline
  • Platinum Member
  • Platinum Member
  • Water Boarder
More
12 years 7 months ago #19731 by ummm,
Replied by ummm, on topic Re: Create Website Articles
I am all seeing.

(Ok, I'm not, the app couldn't load it...)

Justice 4 Faruk

Please Log in or Create an account to join the conversation.

  • Decadence
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
12 years 7 months ago #19730 by Decadence
Replied by Decadence on topic Re: Create Website Articles
To be fair to Borders, it was me who copied that content into an article. I even copied it into a text editor first! Didn't catch the & though...

"Our march is quite slow y'know, when we get to where we want to get to, it's going to take time, but when we get there it's going to be fantastic." - Johnny O'Connor 2013

Please Log in or Create an account to join the conversation.

  • sea_point
  • Offline
  • Moderator
  • Moderator
  • Praetorian Guard
More
12 years 7 months ago #19726 by sea_point
Replied by sea_point on topic Re: Create Website Articles

ummm, wrote: I won't name who it was but his initials are "Borders no.2"

It's no big deal, though. I'm happy to put myself as proof reader/grammar nazi for the articles and make sure they're always viewable on the app.


Jaysus Ummm, you're some pain in the goebbels....(legger ) B)

Please Log in or Create an account to join the conversation.

  • ummm,
  • Offline
  • Platinum Member
  • Platinum Member
  • Water Boarder
More
12 years 7 months ago - 12 years 7 months ago #19725 by ummm,
Replied by ummm, on topic Re: Create Website Articles
I won't name who it was but his initials are "Borders no.2"

It's no big deal, though. I'm happy to put myself as proof reader/grammar nazi for the articles and make sure they're always viewable on the app.

Justice 4 Faruk
Last edit: 12 years 7 months ago by ummm,.

Please Log in or Create an account to join the conversation.

  • Diom
  • Offline
  • Administrator
  • Administrator
  • Rise Up, Something Up
More
12 years 7 months ago #19724 by Diom
Replied by Diom on topic Re: Create Website Articles

ummm, wrote:

ummm, wrote: <strong>- Do not use "&". </strong>


I really, really, really mean this.


Was it me?

A Connacht is not just for the Xmas Inter-Pros...
A Connacht is for Life

Please Log in or Create an account to join the conversation.

More
12 years 7 months ago #19717 by Sol_ie
Replied by Sol_ie on topic Re: Create Website Articles
I think you mean '%amp'

Committee Member
Treasurer

Please Log in or Create an account to join the conversation.