Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor template system #3

Open
BigBlueHat opened this issue Oct 27, 2011 · 1 comment
Open

Refactor template system #3

BigBlueHat opened this issue Oct 27, 2011 · 1 comment
Assignees
Labels
Milestone

Comments

@BigBlueHat
Copy link
Owner

There's a tricky balance between flexibility for designers/developers and consistent feature delivery (RDFa) among BlueInk sites. Try to balance that...simply.

@ghost ghost assigned BigBlueHat Oct 27, 2011
@BigBlueHat
Copy link
Owner Author

Right now, all BlueInk items need the following intro properties--so they can be found and made draggable:

<div blueink-component="page-item" data-item-id="{{_id}}" data-item-index="{{_blueink.index}}">

It doesn't have to be a div, but it does need those 3 attributes.

Ideally, there's some better, more semantic way to do this, such as:

<div typeof="schema:WebPageElement" about="...baseurl??...{{_id}}">
  <meta property="position" content="{{_blueink.index}}" />

However, that's...
a. a bit more complicated
b. requires an absolute URL for the value of about (which mucks up the offline-friendliness of BlueInk a bit...)
c. may be tricky / DOM-parse-heavy to extract the bits needed

Still thinking on it, though.

@BigBlueHat BigBlueHat modified the milestone: Next Nov 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant